Part Number Hot Search : 
N25F80 IZ800 V600ME V600ME M2TXX 1N1202A STK40 FMG23S
Product Description
Full Text Search
 

To Download NQ80221 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  80220/80221 4-1 md400159/e 1 80220/80221 100base-tx/10base-t ethernet media interface adapter features n single chip 100base-tx / 10base-t physical layer solution n dual speed - 100/10 mbps n half and full duplex n mii interface to ethernet controller n mi interface for configuration & status n optional repeater interface n autonegotiation: 10/100, full/half duplex n meets all applicable ieee 802.3, 10base-t, 100base-tx standards n on chip wave shaping - no external filters required n adaptive equalizer n baseline wander correction n interface to external 100base-t4 phy n led outputs - link - activity - collision - full duplex - 10/100 - user programmable n many user features and options n few external components n pin configuration - 44l plcc - 80220 - 64l lqfp - 80221 98184 description the 80220/80221 are highly integrated analog interface ic's for twisted pair ethernet applications. the 80220/ 80221 can be configured for either 100 mbps (100base- tx) or 10 mbps (10base-t) ethernet operation. the 80220 is packaged in a 44l package, while the 80221 is packaged in a 64l package and contains a few more features. the 80220/80221 consist of 4b5b/manchester encoder/ decoder, scrambler/descrambler, 100base-tx/10base-t twisted pair transmitter with wave shaping and output driver, 100base-tx/10base-t twisted pair receiver with on chip equalizer and baseline wander correction, clock and data recovery, autonegotiation, controller interface (mii), and serial port (mi). the addition of internal output waveshaping circuitry and on-chip filters eliminates the need for external filters nor- mally required in 100base-tx and 10base-t applications. the 80220/80221 can automatically configure itself for 100 or 10 mbps and full or half duplex operation with the on-chip autonegotiation algorithm. the 80220/80221 can access eleven 16-bit registers though the management interface (mi) serial port. these registers contain configuration inputs, status outputs, and device capabilities. the 80220/80221 are ideal as media interfaces for 100base-tx/10base-t adapter cards, motherboards, re- peaters, switching hubs, and external phy's. note: check for latest data sheet revision before starting any designs. seeq data sheets are now on the web, at www.lsilogic.com. this document is an lsi logic document. any reference to seeq technology should be considered lsi logic.
80220/80221 md400159/e 2 80220 top view 44l plcc pin configuration 80221 top view 64l lqfp gnd3 10 9 8 7 11 15 14 13 12 16 17 vcc3 mdint (mda4) rx_dv crs col mdio mdc 21 20 19 18 22 26 25 24 23 27 28 rx_er / rxd4 gnd5 rxd1 rxd2 rxd3 gnd6 rx_en / jam rx_clk vcc5 44 1 2 3 43 4 5 6 42 41 40 rext gnd1 vcc2 tpo+ tpo- vcc1 pled1 (mda1) pled0 (mda0) tpi+ tpi- gnd2 tx_clk txd0 tx_er / txd4 txd1 txd2 txd3 36 37 38 39 35 31 32 33 34 30 29 trfadj0 trfadj1 oscin gnd4 tx_en vcc4 rxd0 vcc6 (mda2) (mda3) pled2 pled3 nc 2 1 3 7 6 5 4 8 9 pled4 pled3 (mda3) mdint (mda4) vcc4 vcc3 gnd3 nc pled2 (mda2) mdio 13 12 11 10 14 16 15 col rx_dv nc crs mdc nc tx_en gnd4 oscin nc nc 45 46 47 41 42 43 44 40 nc nc trfadj0 trfadj1 tx_clk nc 36 37 38 39 35 33 34 tx_er / txd4 txd3 txd2 txd1 txd0 48 vcc2 tpi+ tpi gnd2 pled0 (mda0) pled5 nc rext nc vcc1 tpo nc nc tpo+ 49 50 53 54 52 51 55 59 60 58 57 63 64 62 61 56 pled1 (mda1) gnd1 21 22 17 18 nc rx_er / r4d4 rptr gnd5 rxd0 rxd1 20 19 rxd3 rxd2 vcc5 25 24 23 26 27 rx_clk rx_en / jam 29 28 30 31 t4adv t4link vcc6 gnd6 t4oe 32
80220/80221 4-3 md400159/e 3 80220 / 80221 table of contents 1.0 pin description 2.0 block diagram 3.0 functional description 3.1 general 3.2 differences between 80220 and 80221 3.3 controller interface 3.3.1 general 3.3.2 mii - 100 mbps 3.3.3 mii - 10 mbps 3.3.4 fbi - 100 mbps 3.3.5 selection of mii or fbi 3.3.6 mii disable 3.3.7 receive output high impedance control 3.3.8 txen to crs loopback disable 3.4 encoder 3.4.1 4b5b encoder - 100 mbps 3.4.2 manchester encoder - 10 mbps 3.4.3 encoder bypass 3.5 decoder 3.5.1 4b5b decoder 3.5.2 manchester decoder 3.5.3 decoder bypass 3.5 clock and data recovery 3.5.1 clock recovery - 100 mbps 3.5.2 data recovery - 100 mbps 3.5.3 clock recovery - 10 mbps 3.5.4 data recovery - 10 mbps 3.6 scrambler 3.6.1 100 mbps 3.6.2 10 mbps 3.6.3 scrambler bypass 3.7 descrambler 3.7.1 100 mbps 3.7.2 10 mbps 3.7.3 descrambler bypass 3.8 twisted pair transmitter 3.8.1 100 mbps 3.8.2 10 mbps 3.8.3 transmit level adjust 3.8.4 transmit rise and fall time adjust 3.8.5 stp (150 ohm) cable mode 3.8.6 transmit activity indication 3.8.7 transmit disable 3.8.8 transmit powerdown 3.9 twisted pair receiver 3.9.1 receiver - 100 mbps 3.9.2 receiver - 10 mbps 3.9.3 tp squelch - 100 mbps 3.9.4 tp squelch - 10 mbps 3.9.5 equalizer disable 3.9.6 receive level adjust 3.9.7 receive activity indication 3.10 collision 3.10.1 100 mbps 3.10.2 10 mbps 3.10.3 collision test 3.10.4 collision indication 3.11 start of packet 3.11.1 100 mbps 3.11.2 10 mbps 3.12 end of packet 3.12.1 100 mbps 3.12.2 10 mbps 3.13 link integrity & autonegotiation 3.13.1 general 3.13.2 10baset link integrity algorithm - 10 mbps 3.13.3 100basetx link integrity algorithm - 100 mbps 3.13.4 autonegotiation algorithm 3.13.5 autonegotiation outcome indication 3.13.6 autonegotiation status 3.13.7 autonegotiation enable 3.13.8 autonegotiation reset 3.13.9 link indication 3.13.10 link disable 3.13.11 100baset4 capability 3.14 jabber 3.14.1 100 mbps 3.14.2 10 mbps 3.14.3 jabber disable 3.15 receive polarity correction 3.15.1 100 mbps 3.15.2 10 mbps 3.15.3 autopolarity disable 3.16 full duplex mode 3.16.1 100 mbps 3.16.2 10 mbps 3.16.3 full duplex indication 3.17 100 / 10 mbps selection 3.17.1 general 3.17.2 100 / 10 mbps indication
80220/80221 md400159/e 4 3.18 loopback 3.18.1 internal crs loopback 3.18.2 diagnostic loopback 3.19 automatic jam 3.19.1 100 mbps 3.19.2 10 mbps 3.20 reset 3.21 powerdown 3.22 oscillator 3.23 led drivers 3.24 100base-t4 interface 3.25 repeater mode 3.26 mi serial port 3.26.1 signal description 3.26.2 timing 3.26.3 multiple register access 3.26.4 bit types 3.26.5 frame structure 3.26.6 register structure 3.26.7 interrupt 4.0 register description 5.0 application information 5.1 example schematics 5.2 tp transmit interface 5.3 tp receive interface 5.4 tp transmit output current set 5.5 cable selection 5.6 transmitter droop 5.7 mii controller interface 5.7.1 general 5.7.2 clocks 5.7.3 output drive 5.7.4 mii disable 5.7.5 receive output enable 5.8 fbi controller interface 5.9 repeater applications 5.9.1 mii based repeaters 5.9.2 non-mii based repeaters 5.9.3 clocks 5.10 serial port 5.10.1 general 5.10.2 polling vs. interrupt 5.10.3 multiple register access 5.10.4 serial port addressing 5.11 long cable 5.12 automatic jam 5.13 oscillator 5.14 programmable led drivers 5.15 power supply decoupling 6.0 specifications 7.0 ordering information 7.1 44 pin plcc 7.2 64 pin lqfp 8.0 package diagrams 8.1 44 pin plcc 8.2 64 pin lqfp 9.0 addendum 80220 / 80221 table of contents continued
80220/80221 4-5 md400159/e 5 pin# pin i/o description 44l 64l 28 32 vcc6 positive supply. 5 5% volts 24 25 vcc5 11 8 vcc4 10 7 vcc3 1 57 vcc2 44 56 vcc1 27 31 gnd6 ground. 0 volts 23 23 gnd5 36 41 gnd4 9 6 gnd3 4 60 gnd2 41 52 gnd1 42 54 tpo+ o twisted pair transmit output, positive. 43 55 tpo - o twisted pair transmit output, negative. 2 58 tpi+ i twisted pair receive input, positive. 3 59 tpi - i twisted pair receive input, negative. 40 50 rext transmit current set. an external resistor connected between this pin and gnd will set the output current level for the twisted pair outputs. 37 42 oscin i clock oscillator input. there must be either a 25 mhz crystal between this pin and gnd or a 25 mhz clock applied to this pin. tx_clk output is generated from this input. 29 34 tx_clk o transmit clock output. this controller interface output provides a clock to an external controller. transmit data from the controller on txd, tx_en, and tx_er is clocked in on rising edges of tx_clk and oscin. 35 40 tx_en i transmit enable input. this controller interface input has to be asserted active high to indicate that data on txd and tx_er is valid, and it is clocked in on rising edges of tx_clk and oscin. 33 38 txd3 i transmit data input. these controller interface inputs contain input nibble data to be 32 37 txd2 transmitted on the tp outputs, and they are clocked in on rising edges of tx_clk and oscin 31 36 txd1 when tx_en is asserted. 30 35 txd0 34 39 tx_er / i transmit error input. this controller interface input causes a special pattern to be txd4 transmitted on the twisted pair outputs in place of normal data, and it is clocked in on rising edges of tx_clk when tx_en is asserted. if the device is placed in the bypass 4b5b encoder mode, this pin is reconfigured to be the fifth txd transmit data input, txd4. 25 26 rx_clk o receive clock output. this controller interface output provides a clock to an external controller. receive data on rxd, rx_dv, and rx_er is clocked out on falling edges of rx_clk. 16 13 crs o carrier sense output. this controller interface output is asserted active high when valid data is detected on the receive twisted pair inputs, and it is clocked out on falling edges of rx_clk. 17 14 rx_dv o receive data valid output. this controller interface output is asserted active high when valid decoded data is present on the rxd outputs, and it is clocked out on falling edges of rx_clk. 19 19 rxd3 o receive data output. these controller interface outputs contain receive nibble data from 20 20 rxd2 the tp input, and they are clocked out on falling edges of rx_clk. 21 21 rxd1 22 22 rxd0 name 1.0 pin description
80220/80221 md400159/e 6 programmable led output/management interface address input. the default func- tion of this pin is to be a 100 mbps link detect output. this pin can also be programmed through the mi serial port to indicate other events or be user controlled. this pin can drive an led from vcc. when programmed as 100 mbps link detect output (default): 1= no detect 0 = 100 mbps link detected during powerup or reset, this pin is high impedance and the value on this pin is latched in as the physical device address mda3 for the mi serial port. programmable led output/management interface address input. the default func- tion of this pin is to be an activity detect output. this pin can also be programmed through the mi serial port to indicte other events or be user controlled. this pin can drive an led from vcc. when programmed as an activity detect output (default): 1 = no activity 0 = transmit or receive packet occurred, hold low for 100 ms during powerup or reset, this pin is high impedance and the value on this pin is latched in as the physical device address mda2 for the mi serial port. programmable led output/management interface address input. the default func- tion of this pin is to be a full duplex detect output. this pin can also be programmed through the mi serial port to indicate other events or be user controlled. this pin can drive an led from both vcc and gnd. when programmed as full duplex detect output (default). 1 = half duplex 0 = full duplex during powerup or reset, this pin is high impedance and the value on this pin is latched in as the physical address device address mda1 for the mi serial port. 18 18 rx_er / o receive error output. this controller interface output is asserted active high when a rxd4 coding or other specified errors are detected on the receive twisted pair inputs and it is clocked out on falling edges of rx_clk. if the device is placed in the bypass 4b5b decoder mode, this pin is reconfigured to be the fifth rxd receive data output, rxd4. 15 12 col o collision output. this controller interface output is asserted active high when a collision between transmit and receive data is detected. 13 10 mdc i management interface (mi) clock input. this mi clock shifts serial data into and out of mdio on rising edges. 14 11 mdio i/o management interface (mi) data input/output. this bidirectional pin contains serial mi data that is clocked in and out on rising edges of the mdc clock. 12 9 mdint i/o management interface interrupt output/management interface address input. this (mda4) o.d. pin is an interrupt output and is asserted active low whenever there is a change in certain pullup mi serial port register bits, and deasserted after all changed bits have been read out. during powerup or reset, this pin is high impedance and the value on this pin is latched in as the physical device address mda4 for the mi serial port 8 4 pled3 i/o (mda3) o.d. pullup 7 3 pled2 i/o (mda2) o.d. pullup 6 62 pled1 i/o (mda1) pullup pin description continued pin# pin i/o description 44l 64l name
80220/80221 4-7 md400159/e 7 5 61 pled0 i/o (mda0) pullup 38 45 trfadj1 i twisted pair output rise/fall time adjust input. these digital inputs adjust the 39 46 trfadj0 pullup rise/fall time on the tpo outputs. pulldown 11 = rise/fall time changed -0.25 ns 10 = rise/fall time changed in mi serial port (default = 0.0 ns) 01 = rise/fall time changed +0.25 ns 00 = rise/fall time changed +0.50 ns 26 27 rx_en/ i receive enable input jam 1 = all outputs enabled 0 = receive controller outputs are high impedance (rx_clk, rxd[3:0], rx_dv, rx_er, col). i automatic jam input 1 = normal 0 = jam packet transmitted when receive activity detected 63 pled5 o receive led output. the function of this pin is to be a receive o.d. activity detect output and this pin can drive an led from vcc. pullup 1 = no receive activity 0 = receive packet occurred, hold low for 100 ms 2 pled4 o transmit led output. the function of this pin is to be a transmit o.d. activity detect output and this pin can drive an led from vcc. pullup 1 = no transmit activity 0 = transmit packet occurred, hold low for 100 ms 30 t4adv i 100base-t4 autonegotiation advertise input. this input causes the autonegotiation pulldown algorithm to advertise 100base-t4 as one of the operating modes. 1 = advertise 100base-t4 capability during autonegotiation 0 = no advertise 29 t4oe o 100base-t4 output enable. this output indicates that the autonegotiation algorithm has selected 100base-t4 as the operating mode and can be used to enable and external 100base-t4 phy. when asserted, the tp outputs are high impedance. 24 rptr i repeater mode enable input. pulldown 1 = repeater mode enabled 0 = normal operation pin# pin i/o description 44l 64l name pin description continued programmable led output/management interface address input. the default function of this pin is to be a 10 mbps link detect output. this pin can also be programmed through the mi serial port to indicate other events or be user controlled. this pin can drive an led from both vcc and gnd. when programmed as 10 mbps link detect output (default): 1 = no detect 0 = 10 mbps link detected during powerup or reset, this pin is high impedance and the value on this pin is latched in as the address mda0 for the mi serial port.
80220/80221 md400159/e 8 28 t4lnk i 100base-t4 link detect input. this input indicates to the device the link status of pullup an external 100base-t4 phy. 1 = no detect 0 = 100base-t4 link detected from external phy 1nc no connect. 5 15 16 17 33 43 44 47 48 49 51 53 64 pin# pin i/o description 44l 64l pin description continued
80220/80221 4-9 md400159/e 9 2.0 block diagram tx_clk tx_er/txd4 tx_en txd[3:0] 100baset4 interface controller interface (mii) col rx_clk rx_er/rxd4 rx_dv rxd[3:0] crs serial port (mi) mdc mdio led drivers pled[3:0] gnd[6:1] vcc[6:1] collision 4b5b decoder descrambler clock & data recovery auto- negotiation squelch (mda4) mdint oscillator oscin rx_en/jam (mda[3:0]) clock & data recovery (manchester decoder) lp filter rom dac + 10bt transmitter clock gen (pll) manchester encoder 4b5b encoder scrambler tpo+ switched current sources + 100btx transmitter clock gen (pll) rext trfadj[1:0] tpo lp filter t4adv t4lnki t4oe [1] [1] [1] pled[5:4] [1] note 1: these pins available on 64l 80221 version only. adaptive equalizer + +/?vth + 100btx receiver tpi+ tpi lp filter + +/?vth + 10bt receiver mclk mlt3 encoder figure 1. 80220 / 80221 block diagram mlt3 encoder squelch rptr [1]
80220/80221 md400159/e 10 3.0 functional description 3.1 general the 80220/80221 is a complete 100/10 mbps ethernet media interface ic. the 80220/80221 has ten main sections: controller interface, encoder, decoder, scram- bler, descrambler, clock and data recovery, twisted pair transmitter, twisted pair receiver, mi serial port, and autonegotiation. a block diagram is shown in figure 1. the 80220/80221 can operate as a 100base-tx device (hereafter referred to as 100 mbps mode) or as a 10base- t device (hereafter referred to as 10 mbps mode). the difference between the 100 mbps mode and the 10 mbps mode is data rate, signalling protocol, and allowed wiring. the 100 mbps mode uses two pairs of category 5 or better utp or stp twisted pair cable with 4b5b encoded, scrambled, and mlt-3 coded 62.5 mhz ternary data to achieve a thruput of 100 mbps. the 10 mbps mode uses two pairs of category 3 or better utp or stp twisted pair cable with manchester encoded, 10 mhz binary data to achieve a 10 mbps thruput. the data symbol format on the twisted pair cable for the 100 and 10 mbps modes are defined in ieee 802.3 specifications and shown in figure 2. on the transmit side for 100 mbps operation, data is received on the controller interface from an external ethernet controller per the format shown in figure 3. the data is then sent to the 4b5b encoder for formatting. the encoded data is then sent to the scrambler. the scrambled and encoded data is then sent to the tp transmitter. the tp transmitter converts the encoded and scrambled data into mlt-3 ternary format, preshapes the output, and drives the twisted pair cable. figure 2. twisted pair frame format preamble sfd da llc data fcs sa interframe gap ethernet mac frame ln interframe gap ssd preamble sfd llc data fcs da idle 100 base-tx tp data symbols sa idle ln esd = [ 1 1 1 1 ...] = [ 0 1 1 0 1 0 0 1 1 1 ] = [ data ] = [ 1 1 ] = [ 1 0 1 0 ...] 62 bits long = [ 1 1 0 0 0 1 0 0 0 1 ] esd da, sa, ln, llc data, fcs ssd preamble sfd idle before / after 4b5b encoding, scrambling, and mlt3 coding preamble sfd llc data fcs da idle 10 base-t tp data symbols sa idle ln soi = [ no transitions ] = [ 1 1 ] with no mid bit transition = [ data ] = [ 1 1 ] = [ 1 0 1 0 ... ] 62 bits long soi da, sa, ln, llc data, fcs sfd preamble idle before / after manchester encoding
80220/80221 4-11 md400159/e 11 signals bit value txdo x x 1 1 11111111111111 2 1 txd1 x x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 txd2 x x 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 txd3 x x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 tx_en 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 d0 3 d4 4 d1 d5 d2 d6 d3 d7 11 1. 1st preamble nibble transmitted. 2. 1st sfd nibble transmittted. 3. 1st data nibble transmitted. 4. d0 thru d7 are the first 8 bits of the data field. signals bit value rxdo x 1 1 111111111111111 2 1 rxd1 x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 rxd2 x 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 rxd3 x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 rx_dv 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 d0 3 d4 4 d1 d5 d2 d6 d3 d7 11 1. 1st preamble nibble received. depending on mode, device may eliminate either all or some of the preamble nibbles, up to 1st sfd nibble. 2. 1st sfd nibble received. 3. 1st data nibble received. 4. d0 thru d7 are the first 8 bits of the data field. figure 3. mii frame format c.) transmit preamble and sfd bits d.) receive preamble and sfd bits a.) mii frame format b.) mii nibble order idle preamble prmble sfd data 1 data n-1 data n start of frame delim. 62 bt data 2 data nibbles 2 bt idle tx_en = 0 tx_en = 0 tx_en = 1 first nibble first bit mac? serial bit stream d0 d1 d2 d3 d4 d5 d6 d7 txd0 / rxd0 txd3 / rxd3 txd2 / rxd2 txd1 / rxd1 msb second nibble mii nibble stream lsb = tx_en = 0 = [ between 64-1518 data bytes ] = [ 1 1 ] = [ 1 0 1 0 ... ] 62 bits long idle datan sfd preamble
80220/80221 md400159/e 12 on the receive side for 100 mbps operation, the twisted pair receiver receives incoming encoded and scrambled mlt-3 data from the twisted pair cable, remove any high frequency noise, equalizes the input signal to compensate for the effects of the cable, qualifies the data with a squelch algorithm, and converts the data from mlt-3 coded twisted pair levels to internal digital levels. the output of the twisted pair receiver then goes to a clock and data recov- ery block which recovers a clock from the incoming data, uses the clock to latch in valid data into the device, and converts the data back to nrz format. the nrz data is then unscrambled and decoded by the 4b5b decoder and descrambler, respectively, and outputted to an external ethernet controller by the controller interface. 10 mbps operation is similar to the 100 mbps operation except, (1) there is no scrambler/descrambler, (2) the encoder/decoder is manchester instead of 4b5b, (3) the data rate is 10 mbps instead of 100 mbps, and (4) the twisted pair symbol data is two level manchester instead of ternary mlt-3. the autonegotiation block automatically configures the device for either 100base-tx or 10base-t, and for either full or half duplex. this configuration is based on the capabilities selected for this device and the capabilities detected from a remote device. the management interface, (hereafter referred to as the mi serial port), is a two pin bidirectional link through which configuration inputs can be set and status outputs can be read. each block plus the operating modes are described in more detail in the following sections. since the 80220/ 80221 can operate either as a 100base-tx or a 10base-t device, each of the following sections describes the perfor- mance of the respective section in both the 100 and 10 mbps modes. 3.2 differences between 80220 and 80221 the differences between the 80220 and 80221 are sum- marized in table 1. for more information on each of these features, refer to the appropriate sections where these features are described. table 1. 80220 vs. 80221 feature 80220 80221 package 44l plcc 64l lqfp # led outputs 4 6 external no yes 100base-t4 interface repeater mode no yes pin 3.3 controller interface 3.3.1 general the 80220/80221 has two interfaces to an external con- troller: media independent interface (referred to as the mii) and five bit interface (referred to as the fbi). 3.3.2 mii - 100 mbps the mii is a nibble wide packet data interface defined in ieee 802.3 and shown in figure 3. the 80220/80221 meets all the mii requirements outlined in ieee 802.3. the 80220/80221 can directly connect, without any external logic, to any ethernet controllers or other devices which also complies with the ieee 802.3 mii specifications. the mii frame format is shown in figure 3. the mii consists of eighteen signals: four transmit data bits (txd[3:0]), transmit clock (tx_clk), transmit enable (tx_en), transmit error (tx_er), four receive data bits (rxd[3:0]), receive clock (rx_clk), carrier sense (crs), receive data valid (rx_dv), receive data error (rx_er), and collision (col). the transmit and receive clocks operate at 25 mhz in 100 mbps mode. on the transmit side, the tx_clk output runs continu- ously at 25 mhz. when no data is to be transmitted, tx_en has to be deasserted. while tx_en is deasserted, tx_er and txd[3:0] are ignored and no data is clocked into the device. when tx_en is asserted on the rising edge of tx_clk, data on txd[3:0] is clocked into the device on rising edges of the tx_clk output clock. txd[3:0] input data is nibble wide packet data whose format needs to be the same as specified in ieee 802.3 and shown in figure 3. when all data on txd[3:0] has been latched into the device, tx_en has to be deasserted on the rising edge of tx_clk. tx_er is also clocked in on rising edges of the tx_clk clock. tx_er is a transmit error signal which, when asserted, will substitute an error nibble in place of the normal data nibble that was clocked in on txd[3:0]. the error nibble is defined to be the /h/ symbol which is defined in ieee 802.3 and shown in table 2. since oscin input clock generates the tx_clk output clock, txd[3:0], tx_en, and tx_er are also clocked in on rising edges of oscin. on the receive side, as long as a valid data packet is not detected, crs and rx_dv are deasserted and rxd[3:0] is held low. when the start of packet is detected , crs and rx_dv are asserted on falling edge of rx_clk. the assertion of rx_dv indicates that valid data is clocked out on rxd[3:0] on falling edges of the rx_clk clock. the rxd[3:0] data has the same frame structure as the txd[3:0] data and is specified in ieee 802.3 and shown in figure 3.
80220/80221 4-13 md400159/e 13 when the end of packet is detected, crs and rx_dv are deasserted, and rxd[3:0] is held low. crs and rx_dv also stay deasserted if the device is in the link fail state. rx_er is a receive error output which is asserted when certain errors are detected on a data nibble. rx_er is asserted on the falling edge of rx_clk for the duration of that rx_clk clock cycle during which the nibble contain- ing the error is being outputted on rxd[3:0]. the collision output, col, is asserted whenever the colli- sion condition is detected. 3.3.3 mii - 10 mbps 10 mbps operation is identical to the 100 mbps operation except, (1) tx_clk and rx_clk clock frequency is reduced to 2.5 mhz, (2) tx_er is ignored, (3) rx_er is disabled and always held low, and (4) receive operation is modified as follows: on the receive side, when the squelch circuit determines that invalid data is present on the tp inputs, the receiver is idle. during idle, rx_clk follows tx_clk, rxd[3:0] is held low, and crs and rx_dv are deasserted. when a start of packet is detected on the tp receive inputs, crs is asserted and the clock recovery process starts on the incoming tp input data. after the receive clock has been recovered from the data, the rx_clk is switched over to the recovered clock and the data valid signal rx_dv is asserted on a falling edge of rx_clk. once rx_dv is asserted, valid data is clocked out on rxd[3:0] on falling edges of the rx_clk clock. the rxd[3:0] data has the same packet structure as the txd[3:0] data and is formatted on rxd[3:0] as specified in ieee 802.3 and shown in figure 3. when the end of packet is detected, crs and rx_dv are deasserted. crs and rx_dv also stay deasserted as long as the device is in the link fail state. 3.3.4 fbi - 100 mbps the five bit interface (also referred to as the fbi) is a five bit wide interface that is produced when the 4b5b encoder/ decoder is bypassed. the fbi is primarily used for repeat- ers or ethernet controllers which have integrated encoder/ decoders. the fbi is identical to the mii except, (1) the fbi data path is five bits wide, not nibble wide like the mii, (2) tx_er pin is reconfigured to be the fifth transmit data bit, txd4, and (3) rx_er pin is reconfigured to be the fifth receive data bit rxd4, (4) crs is asserted as long as the device is in the link pass state, (5) col is not valid, (6) rx_dv is not valid, and (7) tx_en is ignored. 3.3.5 fbi - 10 mbps the fbi is not available in 10 mbps mode. 3.3.6 selection of mii or fbi the fbi is automatically enabled when the 4b5b encoder/ decoder is bypassed. bypassing the encoder/decoder passes the 5b symbols between the receiver/transmitter directly to the fbi without any alteration or substitutions noted in the encoder and decoder sections. the 4b5b encoder/decoder can be bypassed by setting the bypass encoder bit in the mi serial port configuration 1 register. when the fbi is enabled, it may also be desirable to bypass the scrambler/descrambler and disable the inter- nal crs loopback function. the scrambler/descrambler can be bypassed by setting the bypass scrambler bit in the mi serial port configuration 1 register. the internal crs loopback can be disabled by setting the tx_en to crs loopback disable bit in the mi serial port configuration 1 register. 3.3.7 mii disable the mii and fbi inputs and outputs can be disabled by setting the mii disable bit in the mi serial port control register. when the mii is disabled, the mii/fbi inputs are ignored, the mii/fbi outputs are placed in high impedance state, and the tp output is high impedance. if the mi address lines, mda[4:0], are pulled high during reset or powerup, the 80220/80221 powers up and resets with the mii and fbi disabled. otherwise, the 80220/ 80221 powers up and resets with the mii and fbi enabled. 3.3.8 receive output high impedance control the rx_en/jam pin can be configured to be rx_en, a high impedance control for the receive controller output signals, by setting the r/j configuration select bit in the mi serial port configuration 2 register. when this pin is configured to be rx_en and is deasserted active low, the following outputs will be placed in the high impedance state: rx_clk, rxd[3:0], rx_dv, rx_er, and col. 3.3.9 tx_en to crs loopback disable the internal tx_en to crs loopback can be disabled by appropriately setting the txen to crs loopback disable bit in the mi serial port configuration 1 register.
80220/80221 md400159/e 14 3.4 encoder 3.4.1 4b5b encoder - 100 mbps 100base-tx requires that the data be 4b5b encoded. 4b5b coding converts the 4-bit data nibbles into 5-bit date code words. the mapping of the 4b nibbles to the 5b code words is specified in ieee 802.3 and shown in table 2. the 4b5b encoder on the 80220/80221 takes 4b nibbles from the controller interface, converts them into 5b words according to table 2, and sends the 5b words to the scrambler. the 4b5b encoder also substitutes the first 8 bits of the preamble with the ssd delimiters (a.k.a. /j/k/ symbols) and adds an esd delimiter (a.k.a /t/r/ symbols) to the end of every packet, as defined in ieee 802.3 and shown in figure 2. the 4b5b encoder also fills the period between packets, called the idle period, with the a continu- ous stream of idle symbols, as shown in figure 2. 3.4.2 manchester encoder - 10 mbps the manchester encoding process combines clock and nrz data such that the first half of the data bit contains the complement of the data, and the second half of the data bit contains the true data, as specified in ieee 802.3. this guarantees that a transition always occurs in the middle of the bit cell. the manchester encoder on the 80220/80221 converts the 10 mbps nrz data from the controller inter- face into a manchester encoded data stream for the tp transmitter and adds a start of idle pulse (soi) at the end of the packet as specified in ieee 802.3 and shown in figure 2. the manchester encoding process is only done on actual packet data, and the idle period between packets is not manchester encoded and filled with link pulses. table 2. 4b/5b symbol mapping symbol description 5b code 4b code name 0 data 0 11110 0000 1 data 1 01001 0001 2 data 2 10100 0010 3 data 3 10101 0011 4 data 4 01010 0100 5 data 5 01011 0101 6 data 6 01110 0110 7 data 7 01111 0111 8 data 8 10010 1000 9 data 9 10011 1001 a data a 10110 1010 b data b 10111 1011 c data c 11010 1100 d data d 11011 1101 e data e 11100 1110 f data f 11101 1111 i idle 11111 0000 j ssd #1 11000 0101 k ssd #2 10001 0101 t esd #1 01101 0000 r esd #2 00111 0000 h halt 00100 undefined --- invalid all 0000* codes others* * these 5b codes are not used. for decoder, these 5b codes are decoded to 4b 0000. for encoder, 4b 0000 is encoded to 5b 11110, as shown in symbol data 0.
80220/80221 4-15 md400159/e 15 3.4.3 encoder bypass the 4b5b encoder can be bypassed by setting the bypass encoder/decoder bit in the mi serial port configuration 1 register. when this bit is set to bypass the encoder/ decoder, 5b code words are passed directly from the controller interface to the scrambler without any of the alterations described in the 4b5b encoder section. setting this bit automatically places the device in the fbi mode as described in the controller interface section. 3.4 decoder 3.4.1 4b5b decoder - 100 mbps since the tp input data is 4b5b encoded on the transmit side, it must also be decoded by the 4b5b decoder on the receive side. the mapping of the 5b nibbles to the 4b code words is specified in ieee 802.3 and shown in table 2. the 4b45 decoder on the 80220/80221 takes the 5b code words from the descrambler, converts them into 4b nibbles per table 2, and sends the 4b nibbles to the controller interface. the 4b5b decoder also strips off the ssd delimiter (a.k.a. /j/k/ symbols) and replaces them with two 4b data 5 nibbles (a.k.a /5/ symbol), and strips off the esd delimiter (a.k.a /t/r/ symbols) and replaces it with two 4b data 0 nibbles (a.k.a /i/ symbol), per ieee 802.3 specifications and shown in figure 2. the 4b5b decoder detects ssd, esd and, codeword errors in the incoming data stream as specified in ieee 802.3. these errors are indicated by asserting rx_er output while the errors are being transmitted across rxd[3:0], and they are also indicated in the serial port by setting ssd, esd, and codeword error bits in the mi serial port status output register. 3.4.2 manchester decoder - 10 mbps in manchester coded data, the first half of the data bit contains the complement of the data, and the second half of the data bit contains the true data. the manchester decoder in the 80220/80221 converts the manchester encoded data stream from the tp receiver into nrz data for the controller interface by decoding the data and stripping off the soi pulse. since the clock and data recovery block has already separated the clock and data from the tp receiver, the manchester decoding process to nrz data is inherently performed by that block. 3.4.3 decoder bypass the 4b5b decoder can be bypassed by setting the bypass encoder/decoder bit in the mi serial port configuration 1 register. when this bit is set to bypass the encoder/ decoder, (1) 5b code words are passed directly to the controller interface from the descrambler without any of the alterations described in the 4b5b decoder section, and (2) crs is continuously asserted whenever the device is in the link pass state. setting this bit automatically places the device in the fbi mode as described in the controller interface section. 3.5 clock and data recovery 3.5.1 clock recovery - 100 mbps clock recovery is done with a pll. if there is no valid data present on the tp inputs, the pll is locked to the 25 mhz tx_clk. when valid data is detected on the tp inputs with the squelch circuit and when the adaptive equalizer has settled, the pll input is switched to the incoming data on the tp input. the pll then recovers a clock by locking onto the transitions of the incoming signal from the twisted pair wire. the recovered clock frequency is a 25 mhz nibble clock, and that clock is outputted on the controller interface signal rx_clk. 3.5.2 data recovery - 100 mbps data recovery is performed by latching in data from the tp receiver with the recovered clock extracted by the pll. the data is then converted from a single bit stream into nibble wide data word according to the format shown in figure 3. 3.5.3 clock recovery - 10 mbps the clock recovery process for 10 mbps mode is identical to the 100 mbps mode except, (1) the recovered clock frequency is 2.5 mhz nibble clock, (2) the pll is switched from tx_clk to the tp input when the squelch indicates valid data, (3) the pll takes up to 12 transitions (bit times) to lock onto the preamble, so some of the preamble data symbols are lost, but the clock recovery block recovers enough preamble symbols to pass at least 6 nibbles of preamble to the receive controller interface as shown in figure 3. 3.5.4 data recovery - 10 mbps the data recovery process for 10 mbps mode is identical to the 100 mbps mode. as mentioned in the manchester decoder section, the data recovery process inherently performs decoding of manchester encoded data from the tp inputs. 3.6 scrambler 3.6.1 100 mbps 100base-tx requires scrambling to reduce the radiated emissions on the twisted pair. the 80220/80221 scram- bler takes the encoded data from the 4b5b encoder, scrambles it per the ieee 802.3 specifications, and sends it to the tp transmitter.
80220/80221 md400159/e 16 3.6.2 10 mpbs a scrambler is not used in 10 mbps mode. 3.6.3 scrambler bypass the scrambler can be bypassed by setting the bypass scrambler/descrambler bit in the mi serial port configura- tion 1 register. when this bit is set, the 5b data bypasses the scrambler and goes directly from the 4b5b encoder to the twisted pair transmitter. 3.7 descrambler 3.7.1 100 mbps the 80220/80221 descrambler takes the scrambled data from the data recovery block, descrambles it per the ieee 802.3 specifications, aligns the data on the correct 5b word boundaries, and sends it to the 4b5b decoder. the algorithm for synchronization of the descrambler is the same as the algorithm outlined in the ieee 802.3 specification. once the descrambler is synchronized, it will maintain synchronization as long as enough descrambled idle pattern 1's are detected within a given interval. to stay in synchronization, the descrambler needs to detect at least 25 consecutive descrambled idle pattern 1's in a 1 ms interval. if 25 consecutive descrambled idle pattern 1's are not detected within the 1 ms interval, the descrambler goes out of synchronization and restarts the synchronization process. if the descrambler is in the unsynchronized state, the descrambler loss of synchronization detect bit is set in the mi serial port status output register to indicate this condi- tion. once this bit is set, it will stay set until the descrambler achieves synchronization. 3.7.2 10 mpbs a descrambler is not used in 10 mbps mode. 3.7.3 descrambler bypass the descrambler can be bypassed by setting the bypass scrambler/descrambler bit in the mi serial port configura- tion 1 register. when this bit is set, the data bypasses the descrambler and goes directly from the tp receiver to the 4b5b decoder. 3.8 twisted pair transmitter 3.8.1 transmitter - 100 mbps the transmitter consists of a mlt-3 encoder, waveform generator and line driver. the mlt-3 encoder converts the nrz data from the scrambler into a three level mlt-3 code required by ieee 802.3. mlt-3 coding uses three levels and converts 1's to transitions between the three levels, and converts 0's to no transitions or changes in level. the purpose of the waveform generator is to shape the transmit output pulse. the waveform generator takes the mlt-3 three level encoded waveform and uses an array of switched current sources to control the rise/fall time and level of the signal at the output. the output of the switched current sources then goes through a low pass filter in order to "smooth" the current output and remove any high frequency components. in this way, the waveform gen- erator preshapes the output waveform transmitted onto the twisted pair cable to meet the pulse template require- ments outlined in ieee 802.3. the waveform generator eliminates the need for any external filters on the tp transmit output. the line driver converts the shaped and smoothed wave- form to a current output that can drive 100 meters of category 5 unshielded twisted pair cable or 150 ohm shielded twisted pair cable. 3.8.2 transmitter - 10 mbps the transmitter operation in 10 mbps mode is much different than the 100 mbps transmitter. even so, the transmitter still consists of a waveform generator and line driver. the purpose of the waveform generator is to shape the output transmit pulse. the waveform generator consists of a rom, dac, clock generator, and filter. the dac generates a stair-stepped representation of the desired output waveform. the stairstepped dac output then goes through a low pass filter in order to "smooth" the dac output and remove any high frequency components. the dac values are determined from the rom outputs; the rom contents are chosen to shape the pulse to the desired template and are clocked into the dac at high speed by the clock generator. in this way, the waveform generator preshapes the output waveform to be transmit- ted onto the twisted pair cable to meet the pulse template requirements outlined in ieee 802.3 clause 14 and also shown in figure 4. the waveshaper replaces and elimi- nates external filters on the tp transmit output. the line driver converts the shaped and smoothed wave- form to a current output that can drive 100 meters of category 3/4/5 100 ohm unshielded twisted pair cable or 150 ohm shielded twisted pair cable tied directly to the tp output pins without any external filters. during the idle period, no output signal is transmitted on the tp outputs (except link pulse).
80220/80221 4-17 md400159/e 17 0 102030405060708090100110 ?.0 ?.8 ?.6 ?.4 ?.2 0.0 0.2 0.4 0.6 0.8 1.0 time (ns) voltage (v) b c d a i j w v t g s q n o p e f m h r u l k reference time (ns) voltage (v) internal mau a00 b 15 1.0 c 15 0.4 d 25 0.55 e 32 0.45 f390 g 57 -1.0 h 48 0.7 i 67 0.6 j890 k 74 -0.55 l 73 -0.55 m61 0 n 85 1.0 o 100 0.4 p 110 0.75 q 111 0.15 r 111 0 s 111 -0.15 t 110 -1.0 u 100 -0.3 v 110 -0.7 w 90 -0.7 figure 4. tp output voltage template-10 mbps voltage template values for figure 4
80220/80221 md400159/e 18 3.8.3 transmit level adjust the transmit output current level is derived from an internal reference voltage and the external resistor on rext pin. the transmit level can be adjusted with either (1) the external resistor on the rext pin, or (2) the four transmit level adjust bits in the mi serial port configuration 1 register as shown in table 3. the adjustment range is approxi- mately -14% to +16% in 2% steps. table 3. transmit level adjust tlvl[3:0] gain 0000 1.16 0001 1.14 0010 1.12 0011 1.10 0100 1.08 0101 1.06 0110 1.04 0111 1.02 1000 1.00 1001 0.98 1010 0.96 1011 0.94 1100 0.92 1101 0.90 1110 0.88 1111 0.86 3.8.4 transmit rise and fall time adjust the transmit output rise and fall time can be adjusted with either (1) the two pins trfadj[1:0], or (2) the two transmit rise/fall time adjust bits in the mi serial port configuration 1. the adjustment range is -0.25 ns to +0.5 ns in 0.25 ns steps. when the trfadj[1:0] pins are set to 1 and 0, respectively, the rise and fall times are set with the register bits (with 0 ns as the default). when trfadj[1:0] pin are set to anything other than 10, then the pins control the transmit rise and fall time as shown in the pin description and the trfadj[1:0] bits are disabled. 3.8.5 stp (150 ohm) cable mode the transmitter can be configured to drive 150 ohm shielded twisted pair cable. the stp mode can be selected by appropriately setting the cable type select bit in the mi serial port configuration 1 register. when stp mode is enabled, the output current is automatically ad- justed to comply with ieee 802.3 levels. 3.8.6 transmit activity indication transmit activity can be programmed to appear on some of the pled[5:0] pins by appropriately setting the pro- grammable led output select bits in the mi serial port led configuration 2 register as described in table 5. when one or more of the pled[5:0] pins is programmed to be an activity or transmit activity detect output, that pin is as- serted low for 100 ms every time a transmit packet occurs. the pled[5:0] output is open drain with pullup resistor and can drive an led from vcc or can drive another digital input. 3.8.7 transmit disable the tp transmitter can be disabled by setting the transmit disable bit in the mi serial port configuration 1 register. when the transmit disable bit is set, the tp transmitter is forced into the idle state, no data is transmitted, no link pulses are transmitted, and internal loopback is disabled. 3.8.8 transmit powerdown the tp transmitter can be powered down by setting the transmit powerdown bit in the mi serial port configuration 1 register. when the transmit powerdown bit is set, the tp transmitter is powered down, the tp transmit outputs are high impedance, and the rest of the 80220/80221 operates normally. 3.9 twisted pair receiver 3.9.1 receiver - 100 mbps the tp receiver detects input signals from the twisted pair input and convert it to a digital data bit stream ready for clock and data recovery. the receiver can reliably detect data from a 100base-tx compliant transmitter that has been passed through 0-100 meters of 100 ohm category 5 utp or 150 ohm stp. the 100 mbps receiver consists of an adaptive equalizer, baseline wander correction circuit, comparators, and mlt- 3 decoder. the tp inputs first go to an adaptive equalizer. the adaptive equalizer compensates for the low pass characteristic of the cable, and it has the ability to adapt and compensate for 0-100 meters of category 5,100 ohm utp or 150 ohm stp twisted pair cable. the baseline wander correction circuit restores the dc component of the input waveform that was removed by external trans- formers. the comparators convert the equalized signal back to digital levels and are used to qualify the data with the squelch circuit. the mlt-3 decoder takes the three
80220/80221 4-19 md400159/e 19 level mlt-3 digital data from the comparators and con- verts it to back to normal digital data to be used for clock and data recovery. 3.9.2 receiver - 10 mbps the 10 mbps receiver is able to detect input signals from the twisted pair cable that are within the template shown in figure 5. the inputs are biased by internal resistors. the tp inputs pass through a low pass filter designed to eliminate any high frequency noise on the input. the output of the receive filter goes to two different types of comparators, squelch and zero crossing. the squelch comparator determines whether the signal is valid, and the zero crossing comparator is used to sense the actual data transitions once the signal is determined to be valid. the output of the squelch comparator goes to the squelch circuit and is also used for link pulse detection, soi detection, and reverse polarity detection; the output of the zero crossing comparator is used for clock and data recovery in the manchester decoder. 3.9.3 tp squelch - 100 mbps the squelch block determines if the tp input contains valid data. the 100 mbps tp squelch is one of the criteria used to determine link intergrity. the squelch comparators compare the tp inputs against fixed positive and negative thresholds, called squelch levels. the output from the squelch comparator goes to a digital squelch circuit which determines if the receive input data on that channel is valid. if the data is invalid, the receiver is in the squelched state. if the input voltage exceeds the squelch levels at least 4 times with alternating polarity within a 10 m s interval, the data is considered to be valid by the squelch circuit and the receiver now enters into the unquelch state. in the unsquelch state, the receive threshold level is reduced by approximately 30% for noise immunity reasons and is called the unsquelch level. when the receiver is in the unsquelch state, then the input signal is deemed to be valid. the device stays in the unsquelch state until loss of data is detected. loss of data is detected if no alternating polarity unsquelch transitions are detected during any 10 m s interval. when the loss of data is detected, the receive squelch is turned on again. 3.9.4 tp squelch, 10 mbps the tp squelch algorithm for 10 mbps mode is identical to the 100 mbps mode except, (1) the 10 mbps tp squelch algorithm is not used for link integrity but to sense the beginning of a packet, (2) the receiver goes into the unsquelch state if the input voltage exceeds the squelch levels for three bit times with alternating polarity within a 50-250 ns interval, (3) the receiver goes into the squelch state when idle is detected, (4) unsquelch detection has no affect on link integrity, link pulses are used for that in 10 mbps mode, (5) start of packet is determined when the receiver goes into the unsquelch state and crs is as- serted, and (6) the receiver meets the squelch require- ments defined in ieee 802.3 clause 14. 3.9.5 equalizer disable the adaptive equalizer can be disabled by setting the equalizer disable bit in the mi serial port configuration 1 register. when disabled, the equalizer is forced into the response it would normally have if zero cable length was detected. 3.9.6 receive level adjust the receiver squelch and unsquelch levels can be lowered by 4.5 db by setting the receive level adjust bit in the mi serial port configuration 1 register. by setting this bit, the device may be able to support longer cable lengths. figure 5. tp input voltage template-10mbps 3.1 v a. short bit 585 mv 585 mv sin ( t/pw) * pw 0 slope 0.5 v/ns 3.1 v b. long bit 585 mv 585 mv sin [2 (t ?pw/2)/pw] pw/4 0 pw 3pw/4 slope 0.5 v/ns 585 mv sin (2 t/pw) *
80220/80221 md400159/e 20 3.9.7 receive activity indication receive activity can be programmed to appear on some of the pled[5:0] pins by appropriately setting the program- mable led output select bits in the mi serial port led configuration 2 register as shown in table 5. when one or more of the pled[5:0] pins is programmed to be an receive activity or activity detect output, that pin is asserted low for 100 ms every time a receive packet occurs. the pled[5:0] outputs are open drain with pullup resistor and can drive an led from vcc or can drive another digital input. 3.10 collision 3.10.1 100 mbps collision occurs whenever transmit and receive occur simultaneously while the device is in half duplex. collision is sensed whenever there is simultaneous trans- mission (packet transmission on tpo ) and reception (non idle symbols detected on tp input). when collision is detected, the col output is asserted, tp data continues to be transmitted on twisted pair outputs, tp data continues to be received on twisted pair inputs, and internal crs loopback is disabled. once collision starts, crs is as- serted and stays asserted until the receive and transmit packets that caused the collision are terminated. the collision function is disabled if the device is in the full duplex mode, is in the link fail state, or if the device is in the diagnostic loopback mode. 3.10.2 10 mbps collision in 10 mbps mode is identical to the 100 mbps mode except, (1) reception is determined by the 10 mbps squelch criteria, (2) rxd[3:0] outputs are forced to all 0's, (3) collision is asserted when the sqe test is performed, (4) collision is asserted when the jabber condition has been detected. 3.10.3 collision test the controller interface collision signal, col, can be tested by setting the collision test register bit in the mi serial port control register. when this bit is set, tx_en is looped back onto col and the tp outputs are disabled. 3.10.4 collision indication collision can be programmed to appear on the pled2 pin by appropriately setting the programmable led output select bits in the mi serial port configuration 2 register, as shown in table 5. when the pled2 pin is programmed to be a collision detect output, this pin is asserted low for 100 ms every time a collision occurs. the pled2 output is open drain with pullup resistor and can drive an led from vcc or can drive another digital input. 3.11 start of packet 3.11.1 100 mbps start of packet for 100 mbps mode is indicated by a unique start of stream delimiter (referred to as ssd). the ssd pattern consists of the two /j/k/ 5b symbols inserted at the beginning of the packet in place of the first two preamble symbols, as defined in ieee 802.3 clause 24 and shown in figure 2. the transmit ssd is generated by the 4b5b encoder and the /j/k/ symbols are inserted by the 4b4b encoder at the beginning of the transmit data packet in place of the first two 5b symbols of the preamble, as shown in figure 2. the receive pattern is detected by the 4b5b decoder by examining groups of 10 consecutive code bits (two 5b words) from the descrambler. between packets, the re- ceiver will be detecting the idle pattern, which is 5b /i/ symbols. while in the idle state, crs and rx_dv are deasserted. if the receiver is in the idle state and 10 consecutive code bits from the receiver consist of the /j/k/ symbols, the start of packet is detected, data reception is begun, crs and rx_dv are asserted, and /5/5/ symbols are substituted in place of the /j/k/ symbols. if the receiver is in the idle state and 10 consecutive code bits from the receiver consist of a pattern that is neither /i/ i/ nor /j/k/ symbols but contains at least 2 non contiguous 0's, then activity is detected but the start of packet is considered to be faulty and a false carrier indication (also referred to as bad ssd) is signalled to the controller interface. when false carrier is detected, then crs is asserted, rx_dv remains deasserted, rxd[3:0]=1110 while rx_er is asserted, and the bad ssd bit is set in the mi serial port status output register. once a false carrier event is detected, the idle pattern (two /i/i/ symbols) must be detected before any new ssd's can be sensed. if the receiver is in the idle state and 10 consecutive code bits from the receiver consist of a pattern that is neither /i/ i/ nor /j/k/ symbols but does not contain at least 2 non- contiguous 0's, the data is ignored and the receiver stays in the idle state. 3.11.2 10 mbps since the idle period in 10 mbps mode is defined to be the period when no data is present on the tp inputs, then the
80220/80221 4-21 md400159/e 21 start of packet for 10 mbps mode is detected when valid data is detected by the tp squelch circuit. when start of packet is detected, crs is asserted as described in the controller interface section. refer to the tp squelch section for 10 mbps mode for the algorithm for valid data detection. 3.12 end of packet 3.12.1 100 mbps end of packet for 100 mbps mode is indicated by a the end of stream delimiter (referred to as esd). the esd pattern consists of the two /t/r/ 4b5b symbols inserted after the end of the packet, as defined in ieee 802.3 clause 24 and shown in figure 2. the transmit esd is generated by the 4b5b encoder and the /t/r/ symbols are inserted by the 4b5b encoder after the end of the transmit data packet, as shown in figure 2. the receive esd pattern is detected by the 4b5b decoder by examining groups of 10 consecutive code bits (two 5b words) from the descrambler during valid packet reception to determine if there is an esd. if the 10 consecutive code bits from the receiver during valid packet reception consist of the /t/r/ symbols, the end of packet is detected, data reception is terminated, crs and rx_dv are asserted, and /i/i/ symbols are substituted in place of the /t/r/ symbols. if 10 consecutive code bits from the receiver during valid packet reception do not consist of /t/r/ symbols but consist of /i/i/ symbols instead, then the packet is consid- ered to have been terminated prematurely and abnor- mally. when this premature end of packet condition is detected, rx_er is asserted for the nibble associated with the first /i/ symbol detected and then crs and rx_dv are deasserted. premature end of packet condition is also indicated by setting the bad esd bit in the mi serial port status output register. 3.12.2 10 mbps the end of packet for 10 mbps mode is indicated with the soi (start of idle) pulse. the soi pulse is a positive pulse containing a manchester code violation inserted at the end of every packet . the transmit soi pulse is generated by the tp transmitter and inserted at the end of the data packet after tx_en is deasserted. the transmitted soi output pulse at the tp output is shaped by the transmit waveshaper to meet the pulse template requirements specified in ieee 802.3 clause 14 and shown in figure 6. the receive soi pulse is detected by the tp receiver by sensing missing data transitions. once the soi pulse is detected, data reception is ended and crs and rx_dv are deasserted. 0 bt 4.5 bt 6.0 bt +50 mv 45.0 bt 4.5 bt 2.5 bt 2.25 bt 0.25 bt 0.5 v/ns 3.1 v ?0 mv 585 mv ?.1 v 585 mv sin(2 (t/1bt)) 0 t 0.25 bt and 2.25 t 2.5 bt * ** figure 6. soi output voltage template - 10 mbps
80220/80221 md400159/e 22 3.13 link integrity & autonegotiation 3.13.1 general the 80220/80221 can be configured to implement either the standard link integrity algorithms or the autonegotiation algorithm. the standard link integrity algorithms are used solely to establish an active link to and from a remote device. there are different standard link integrity algorithms for 10 and 100 mbps modes. the autonegotiation algorithm is used for two purposes: (1) to automatically configure the device for either 10/100 mbps and half/full duplex modes, and (2) to establish an active link to and from a remote device. the standard link integrity and autonegotiation algorithms are described below. 3.13.2 10base-t link integrity algorithm - 10mbps the 80220/80221 uses the same 10base-t link intergrity algorithm that is defined in ieee 802.3 clause 14. this algorithm uses normal link pulses, referred to as nlp's and transmitted during idle periods, to determine if a device has successfully established a link with a remote device (called link pass state). the transmit link pulse meets the template defined in ieee 802.3 clause 14 and shown in figure 7. refer to ieee 802.3 clause 14 for more details if needed. 3.13.3 100base-tx link integrity algorithm -100mbps since 100base-tx is defined to have an active idle signal, then there is no need to have separate link pulses like those defined for 10base-t. the 80220/80221 uses the squelch criteria and descrambler synchronization algo- rithm on the input data to determine if the device has successfully established a link with a remote device (called link pass state). refer to ieee 802.3 for both of these algorithms for more details. 3.13.4 autonegotiation algorithm as stated previously, the autonegotiation algorithm is used for two purposes: (1) to automatically configure the device for either 10/100 mbps and half/full duplex modes, and (2) to establish an active link to and from a remote device. the autonegotiation algorithm is the same algo- rithm that is defined in ieee 802.3 clause 28. autonegotiation uses a burst of link pulses, called fast link pulses and referred to as flp's, to pass up to 16 bits of signaling data back and forth between the 80220/80221 and a remote device. the transmit flp pulses meet the templated specified in ieee 802.3 and shown in figure 7. a timing diagram contrasting nlp's and flp's is shown in figure 8. 0 bt 1.3 bt 2.0 bt 4.0 bt +50 mv ?0 mv 4.0 bt 42.0 bt 3.1 v 0.5 v/ns 0.5 bt 0.6 bt 300 mv 200 mv 585 mv +50 mv ?0 mv 2.0 bt 0.85 bt ?.1 v 0.25 bt figure 7. link pulse output voltage template _ nlp, flp
80220/80221 4-23 md400159/e 23 the autonegotiation algorithm is initiated by any of the following events: (1) powerup, (2) device reset, (3) au- tonegotiation reset, (4) autonegotiation enabled, or (5) a device enters the link fail state. once a negotiation has been initiated, the 80220/80221 first determines if the remote device has autonegotiation capability. if the remote device is not autonegotiation capable and is just transmitting either a 10base-t or 100base-tx signal, the 80220/80221 will sense that and place itself in the correct mode. if the 80220/80221 detects flp's from the remote device, then the remote device is determined to have autonegotiation capability and the device then uses the contents of the mi serial port autonegotiation advertise- ment register and flp's to advertise its capabilities to a remote device. the remote device does the same, and the capabilities read back from the remote device are stored in the mi serial port autonegotiation remote end capability register. the 80220/80221 negotiation algorithm then matches it's capabilities to the remote device's capabilities and determines what mode the device should be config- ured to according to the priority resolution algorithm de- fined in ieee 802.3 clause 28. once the negotiation process is completed, the 80220/80221 then configures itself for either 10 or 100 mbps mode and either full or half duplex modes (depending on the outcome of the negotia- tion process), and it switches to either the 100base-tx or 10base-t link integrity algorithms (depending on which mode was enabled by autonegotiation). refer to ieee 802.3 clause 28 for more details. 3.13.5 autonegotiation outcome indication the outcome or result of the autonegotiation process is stored in the speed detect and duplex detect bits in the mi serial port status output register. 3.13.6 autonegotiation status the status of the autonegotiation process can be moni- tored by reading the autonegotiation status bits in the mi serial port status register. the mi serial port status register contains a single autonegotiation acknowledge- ment bit which indicates when an autonegotiation has been initiated and successfully completed. tx_di tx_di a.) normal link pulse (nlp) b.) fast link pulse (flp) d0 d15 d14 d3 d2 d1 clock clock clock clock clock clock clock data data data data data data figure 8. nlp vs. flp link pulse
80220/80221 md400159/e 24 3.13.7 autonegotiation enable the autonegotiation algorithm can be enabled (or re- started) by setting the autonegotiation enable bit in the mi serial port control register. when the autonegotiation algorithm is enabled, the device halts all transmissions including link pulses for 1200-1500 ms, enters the link fail state, and restarts the negotiation process. when the autonegotiation algorithm is disabled, the selection of 100 mbps or 10 mbps modes is determined by the speed select bit in the mi serial port control register, and the selection of half or full duplex is determined by the duplex select bit in the mi serial port control register. 3.13.8 autonegotiation reset the autonegotiation algorithm can be initiated at any time by setting the autonegotiation reset bit in the mi serial port control register. 3.13.9 link indication receive link detect activity can be monitored through the link detect bit in the mi serial port status and status output registers or it can also be programmed to appear on the pled3 or pled0 pin by appropriately setting the pro- grammable led output select bits in the mi serial port configuration 2 register as shown in table 5. when either the pled3 or pled0 pins are programmed to be a link detect output, these pins are asserted low whenever the device is in the link pass state. the pled3 output is open drain with pullup resistor and can drive an led from vcc; the pled0 output has both pullup and pulldown driver transistors in addition to a weak pullup resistor, so it can drive an led from either vcc or gnd. both pled3 and pled0 can also drive another digital input. refer to the led driver section (3.23) for a description on how to program the pled[3:0] pins and their defaults. 3.13.10 link disable the link integrity function can be disabled by setting the link disable bit in the mi serial port configuration 1 register. when the link integrity function is disabled, the device is forced into the link pass state, configures itself for half/ full duplex based on the value of the duplex bit in the mi serial port control register, configures itself for 100/10 mbps operation based on the values of the speed bit in the mi serial port control register, and continues to transmit nlp's or tx idle patterns, depending on whether the device is in 10 or 100 mbps mode. 3.13.11 100base-t4 capability the 80221 has the ability to advertise and detect 100base- t4 capability in addition to 100base-tx full/half duplex and 10base-t full/half duplex capability. refer to the 100base-t4 interface section for more details. 3.14 jabber 3.14.1 100 mbps jabber function is disabled in the 100 mbps mode. 3.14.2 10 mbps jabber condition occurs when the transmit packet ex- ceeds a predetermined length. when jabber is detected, the tp transmit outputs are forced to the idle state, collision is asserted, and register bits in the mi serial port status and status output registers are set. 3.14.3 jabber disable the jabber function can be disabled by setting the jabber disable bit in the mi serial port configuration 2 register. 3.15 receive polarity correction 3.15.1 100 mbps no polarity detection or correction is needed in 100 mbps mode. 3.15.2 10 mbps the polarity of the signal on the tp receive input is continuously monitored. if either 3 consecutive link pulses or one soi pulse indicates incorrect polarity on the tp receive input, the polarity is internally determined to be incorrect, and a reverse polarity bit is set in the mi serial port status output register. the 80220/80221 will automatically correct for the reverse polarity condition provided that the autopolarity feature is not disabled. 3.15.3 autopolarity disable the autopolarity feature can be disabled by setting the autopolarity disable bit in the mi serial port configuration 2 register.
80220/80221 4-25 md400159/e 25 3.16 full duplex mode 3.16.1 100 mbps full duplex mode allows transmission and reception to occur simultaneously. when full duplex mode is enabled, collision is disabled and internal tx_en to crs loopback is disabled. the device can be either forced into half or full duplex mode, or the device can detect either half or full duplex capability from a remote device and automatically place itself in the correct mode. the device can be forced into the full or half duplex modes by setting the duplex bit in the mi serial port control register. the device can automatically configure itself for full or half duplex modes by using the autonegotiation algo- rithm to advertise and detect full and half duplex capabili- ties to and from a remote terminal. all of this is described in detail in the link integrity and autonegotiation section. 3.16.2 10 mbps full duplex in 10 mbps mode is identical to the 100 mbps mode. 3.16.3 full duplex indication full duplex detection can be monitored through the duplex bit in the mi serial port status output register, or it can also be programmed to appear on the pled1 pin by appropri- ately setting the programmable led output select bits in the mi serial port configuration 2 register as described in table 5. when the pled1 pin is programmed to be a full duplex detect output, this pin is asserted low when the device is configured for full duplex operation. the pled1 output has both pullup and pulldown driver transistors and a weak pullup resistor, so it can drive an led from either vcc or gnd and can also drive a digital input. 3.17 100/10 mbps selection 3.17.1 general the device can be forced into either the 100 or 10 mbps mode, or the device also can detect 100 or 10 mbps capability from a remote device and automatically place itself in the correct mode. the device can be forced into either the 100 or 10 mbps mode by setting the speed select bit in the mi serial port control register. the device can automatically configure itself for 100 or 10 mbps mode by using the autonegotiation algorithm to advertise and detect 100 and 10 mbps capabilities to and from a remote terminal. all of this is described in detail in the link integrity & autonegotiation section. 3.17.2 10/100 mbps indication the device speed (100/10 mbps) can be determined through the speed bit in the mi serial port status output register, or it can also be programmed to appear on the pled0 pin by setting the programmable led output select bits in the mi serial port configuration 2 register. when the pled0 pin is programmed to be speed detect output, this pin is asserted low when the device is config- ured for 100 mbps operation. the pled0 output has both pullup and pulldown driver transistors and a weak pullup resistor, so it can drive an led from either vcc or gnd and can also drive a digital input. 3.18 loopback 3.18.1 internal crs loopback tx_en is internally looped back onto crs during every transmit packet. this internal crs loopback is disabled during collision, in full duplex mode, in link fail state, and when the transmit disable bit is set in the mi serial port configuration 1 register. in 10 mbps mode, internal crs loopback is also disabled when jabber is detected. the internal crs loopback can be disabled by setting the tx_en to crs loopback disable bit in the mi serial port configuration 1 register. when this bit is set, tx_en is no longer looped back to crs.
80220/80221 md400159/e 26 3.18.2 diagnostic loopback a diagnostic loopback mode can also be selected by setting the loopback bit in the mi serial port control register. when diagnostic loopback is enabled, txd[3:0] data is looped back onto rxd[3:0], tx_en is looped back onto crs, rx_dv operates normally, the tp receive and transmit paths are disabled, the transmit link pulses are halted, and the half/full duplex modes do not change. diagnostic loopback mode can not be enabled when the fbi interface is selected. 3.19 automatic jam 3.19.1 100 mbps the 80220/80221 has an automatic jam feature which will cause the device to automatically transmit a jam packet if receive activity is detected. if automatic jam is enabled, then the following jam packet will be transmitted on tpo when the jam pin is asserted active low and receive activity is detected on tp inputs (expressed in 5b code words): /j/k/5/5/5/5/5/5/5/5/5/5/5/5/5/d/h/h/h/h/h/h/h/h/t/r/ this automatic jam feature is enabled when the rx_en/ jam pin is programmed to be a jam input . rx_en/jam can be configured to be a jam input by appropriately setting the r/j configuration bit in the mi serial port configuration 2 register. 3.19.2 10 mbps the jam feature for 10 mbps mode is identical to 100 mbps mode except: (1) the jam packet transmitted on tpo is composed of standard 62 bit preamble (alternat- ing 1,0) followed by sfd (11) followed by 32 bits of alternating 1,0 pattern. 3.20 reset the 80220/80221 is reset when either (1) vcc is applied to the device, or (2) the reset bit is set in the mi serial port control register. when reset is initiated, an internal power-on reset pulse is generated which resets all internal circuits, forces the mi serial port bits to their default values, and latches in new values for the mi address. after the power-on reset pulse has finished, the reset bit in the mi serial port control register is cleared and the device is ready for normal operation. the device is guaranteed to be ready for normal operation 500 ms after the reset was initiated. 3.21 powerdown the 80220/80221 can be powered down by setting the powerdown bit in the mi serial port control register. in powerdown mode, the tp outputs are in high impedance state, all functions are disabled except the mi serial port, and the power consumption is reduced to a minimum. the device is guaranteed to be ready for normal operation 500 ms after powerdown is deasserted. 3.22 oscillator the 80220/80221 requires a 25 mhz reference frequency for internal signal generation. this 25 mhz reference frequency is generated by either connecting an external 25 mhz crystal between oscin and gnd or by applying an external 25mhz clock to oscin. 3.23 led drivers the pled[5:2] outputs are open drain with a pullup resis- tor and can drive led's tied to vcc. the pled[1:0] outputs have both pullup and pulldown driver transistors with a pullup resistor, so pled[1:0] can drive led's tied to either vcc or gnd. the pled[5:0] outputs can be programmed through the mi serial port to do 4 different functions: (1) normal function (2) on, (3) off, and (4) blink. pled[5:0] can be programmed with the led output select bits and the led normal function select bits in the mi serial port configura- tion 2 register. when pled[5:0] are programmed for their normal func- tions, these outputs indicate specific events. there are four sets of specific events that these outputs can indicate, and they are described in tables 5 and 6. the selection of which set of events that these outputs indicate is deter- mined by appropriately setting the led normal function select bits in the mi serial port configuration 2 register. the default normal functions for pled[5:0] are transmit activity, receive activity, link 100, activity, full duplex, and link 10, respectively. pled5 and pled4 are only available on the 64l 80221 version. when pled[3:0] is programmed to be on, the led output driver go low, thus turning on the led under user control. when pled[3:0] is programmed to be off, the led output driver will turn off, thus turning off the led under user control. when pled[3:0] is programmed to blink, the led output driver will continuously blink at a rate of 100 ms on, 100 ms off.
80220/80221 4-27 md400159/e 27 table 5. led normal function definition bits pled5 pled4 pled3 pled2 pled1 pled0 17.7-6 11 rcv xmt link col fdx 10/100 act act 10 rcv xmt link act fdx 10/100 act act 01 rcv xmt link col fdx 10/100 act act + act 00 rcv xmt link act fdx link10 act act 100 device powers up with default set to 00. table 6. led event definition symbol definition xmt act transmit activity occurred, stretch pulse to 100 ms rcv act receive activity occurred, stretch pulse to 100 ms act activity occurred, stretch pulse to 100 ms col collision occurred, stretch pulse to 100 ms link100 100 mb link detected link10 10 mb link detected link 100 or 10 mb link detected link+act 100 or 10 mb link detected or activity occurred, stretch pulse to 100 ms (link detect causes led to be on, activity causes led to blink) fdx full duplex mode enabled 10/100 10 mb mode enabled (high), or 100 mb mode enabled (low) 3.24 100base-t4 interface the 80220/80221 has a 100base-t4 (referred to as t4) interface to an external 100base-t4 transceiver. this interface is available only on the 80221 64l version. the t4 interface is intended to allow the 80220/80221 to be able to perform autonegotiation with t4 as one of the advertised capabilities, then enable an external t4 trans- ceiver if t4 is chosen as the operating mode at the conclusion of the autonegotiation process, and then turn over control of the tp cable to the external t4 transceiver. the 80220/80221 will advertise t4 as one of its capabili- ties if either the t4adv pin is asserted or the t4 capability bit is set in the mi serial port autonegotiation advertise- ment register. if the autonegotiation process is initiated with the t4adv pin asserted, t4 will be advertised along with any other capabilities written into the mi serial port autonegotiation advertisement register. the autonegotiation process will then proceed as outlined in the link integrity & autonegotiation section with the addi- tion of factoring t4 into the autonegotiation algorithm along with the other advertised capabilities. if t4 is selected by the autonegotiation process as the mode to be enabled, then the t4oe pin is asserted to enable an external t4 transceiver and the 80220/80221 transmitter is placed in the high impedance mode. the 80220/80221 then waits to see if the external t4 transceiver goes into the link pass state. if the external t4 transceiver goes into link pass within the required time, it has to assert the t4lnk input to the 80220/80221. in response, the 80220/80221 keeps the t4oe pin asserted and tp transmitter stays in high impedance. if the t4lnk pin doesn't get asserted within the required time, then the autonegotiation process restarts with the t4oe pin deasserted and 80220/80221 transmitter activated. if the t4oe output is asserted and the t4lnk input goes from asserted to deasserted, the autonegotiation process restarts with the t4oe pin deasserted and 80220/80221 transmitter activated. 3.25 repeater mode the 80221 has one predefined repeater mode which can be enabled by asserting the rptr pin. when this repeater mode is enabled with the rptr pin, the device operation is altered as follows: (1) tx_en to crs loopback is disabled, (2) autonegotiation is disabled, (3) 100 mbps operation is enabled, and (4) half duplex operation is enabled. the rptr pin is only available on the 80221 (64l version), and not available on the 80220 (44l ver- sion). note that the repeater mode enabled by the rptr pin is only one of many possible repeater modes available on the device; other repeater modes are available on both the 80220 and 80221 by setting the appropriate register bits to enable or disable the desired functions for a given repeater mode type. see the repeater applications section (5.10.2) for more details on other possible re- peater modes. 3.26 mi serial port 3.26.1 signal description the mi serial port has eight pins, mdc, mdio, mdint, and mda[4:0]. mdc is the serial shift clock input. mdio is a bidirectional data i/o pin. mdint is an interrupt output. mda[4:0] are address pins for the mi serial port. mda[4:0] inputs share the same pins as the mdint and pled[3:0] outputs, respectively. at powerup or reset, the pled[3:0] and mdint output drivers are tristated for an interval called the power-on reset time. during the power-
80220/80221 md400159/e 28 on reset interval, the value on these pins is latched into the device, inverted, and used as the mi serial port physical device addresses. 3.26.2 timing a timing diagram for a mi serial port frame is shown in figure 9. the mi serial port is idle when at least 32 continuous 1's are detected on mdio and remains idle as long as continuous 1's are detected. during idle, mdio is in the high impedance state. when the mi serial port is in the idle state, a 01 pattern on the mdio pin initiates a serial shift cycle. data on mdio is then shifted in on the next 14 rising edges of mdc (mdio is high impedance). if the register access mode is not enabled, on the next 16 rising edges of mdc, data is either shifted in or out on mdio, depending on whether a write or read cycle was selected with the bits read and write. after the 32 mdc cycles have been completed, one complete register has been read/written, the serial shift process is halted, data is latched into the device, and mdio goes into high imped- ance state. another serial shift cycle cannot be initiated until the idle condition (at least 32 continuous 1's) is detected. 3.26.3 multiple register access multiple registers can be accessed on a single mi serial port access cycle with the multiple register access feature. the multiple register access feature can be enabled by setting the multiple register access enable bit in the mi serial port configuration 2 register. when multiple register access is enabled, multiple registers can be accessed on a single mi serial port access cycle by setting the register address to 11111 during the first 16 mdc clock cycles. there is no actual register residing in register address location 11111, so when the register address is then set to 11111, all eleven registers are accessed on the 176 rising edges of mdc that occur after the first 16 mdc clock cycles of the mi serial port access cycle. the registers are accessed in numerical order from 0 to 20. after all 192 mdc clocks have been completed, all the registers have been read/written, and the serial shift process is halted, data is latched into the device, and mdio goes into high impedance state. another serial shift cycle cannot be initiated until the idle condition (at least 32 continuous 1's) is detected. 3.26.4 bit types since the serial port is bidirectional, there are many types of bits. write bits (w) are inputs during a write cycle and are high impedance during a read cycle. read bits (r) are outputs during a read cycle and high impedance during a write cycle. read/write bits (r/w) are actually write bits which can be read out during a read cycle. r/wsc bits are r/w bits that are self clearing after a set period of time or after a specific event has completed. r/ll bits are read bits that latch themselves when they go low, and they stay latched low until read. after they are read, they are reset high. r/lh bits are the same as r/ll bits except that they latch high. r/lt are read bits that latch themselves whenever they make a transition or change value, and they stay latched until they are read. after r/lt bits are read, they are updated to their current value. r/lt bits can also be programmed to assert the interrupt function as described in the interrupt section. the bit type definitions are summarized in table 7. table 7. mi register bit type definition sym. name definition write cycle read cycle w write input no operation, hi z r read no operation, output hi z r/w read/ input ouput write r/ws read/ input ouput c write self clearing clears itself after operation completed r/ll read/ no operation, output latching hi z low when bit goes low, bit latched. when bit is read, bit updated. r/lh read/ no operation, output latching hi z high when bit goes high, bit latched. when bit is read, bit updated. r/lt read/ no operation, output latching hi z on when bit transition transitions, bit latched and interrupt set when bit is read, interrupt cleared and bit updated.
80220/80221 4-29 md400159/e 29 figure 9. mi serial port frame timing diagram mdio mdc 02 134 7 6 5 8 9 101112131415161718192021222324252627 28 29 30 31 00 11 p4 p1 p2 p3 p0 r4 r3 r2 r1 r0 1 0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 st[1:0] op[1:0] phyad[4:0] regad[4:0] ta[1:0] data[15:0] write bits phy clocks in data on rising edges of mdc write cycle mdio mdc 02 134 7 6 5 8 9 101112131415161718192021222324252627 28 29 30 31 00 11 p4 p1 p2 p3 p0 r4 r3 r2 r1 r0 z 0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 st[1:0] op[1:0] phyad[4:0] regad[4:0] ta[1:0] data[15:0] write bits phy clocks in data on rising edges of mdc read cycle read bits phy clocks out data on rising edges of mdc
80220/80221 md400159/e 30 3.26.5 frame structure the structure of the serial port frame is shown in table 8 and a timing diagram of a frame is shown in figure 9. each serial port access cycle consists of 32 bits (or 192 bits if multiple register access is enabled and regad[4:0]=11111), exclusive of idle. the first 16 bits of the serial port cycle are always write bits and are used for addressing. the last 16/176 bits are from one/all of the 11 data registers. the first 2 bits in table 8 and figure 9 are start bits and need to be written as a 01 for the serial port cycle to continue. the next 2 bits are a read and write bit which determine if the accessed data register bits will be read or write. the next 5 bits are device addresses and they must match the inverted values latched in from pins mda[4:0] during the power-on reset time for the serial port access to continue. the next 5 bits are register address select bits which select one of the five data registers for access. the next 1 bit is a turnaround bit which is not an actual register bit but extra time to switch mdio from write to read if necessary, as shown in figure 2. the final 16 bits of the mi serial port cycle (or 176 bits if multiple register access is enabled and regad[4:0]=11111) come from the spe- cific data register designated by the register address bits regad[4:0]. 3.26.6 register structure the 80220/80221 has eleven internal 16 bit registers. ten registers are available for setting configuration inputs and reading status outputs, and one register is reserved for factory use. a map of the registers is shown in table 9. the ten accessible registers consist of six registers that are defined by ieee 802.3 specifications (registers 0-5) and four registers that are unique to the 80220/80221 (registers 16-19). the structure and bit definition of the control register is shown in table 10. this register stores various configura- tion inputs and its bit definition complies with the ieee 802.3 specifications. the structure and bit definition of the status register is shown in table 11. this register contains device capabili- ties and status output information. and its bit definition complies with the ieee 802.3 specifications. the structure and bit definition of the phy id #1 and #2 registers is shown in tables 12 and 13, respectively. these registers contain an identification code unique to the 80220/80221 and their bit definition complies with the ieee 802.3 specifications. the structure and bit definition of the autonegotiation advertisement and autonegotiation remote end capabil- ity registers is shown in tables 14 and 15, respectively. these registers are used by the autonegotiation algorithm and their bit definition complies with the ieee 802.3 specifications. the structure and bit definition of the configuration 1 and configuration 2 registers is shown in table 16 and 17, respectively. these registers store various configuration inputs. the structure and bit definition of the status output regis- ter is shown in table 18. this register contains output status information. the structure and bit definition of the mask register is shown in table 19. this register allows each r/lt bit in the status output register to be masked out or removed as a bit that will set interrupt. register 20 is reserved for factory use. all bit values must be set to the defaults for normal operation. 3.26.7 interrupt the 80220/80221 has hardware and software interrupt capability. the interrupt is triggered by certain output status bits (also referred to as interrupt bits) in the serial port. as indicated previously, r/lt bits are read bits that latch on transition. r/lt bits are also interrupt bits if they are not masked out with the mask register bits. interrupt bits automatically latch themselves into their register loca- tions and assert the interrupt indication when they change state. interrupt bits stay latched until they are read. when interrupt bits are read, the interrupt indication is deasserted and the interrupt bits that caused the interrupt to happen are updated to their current value. each interrupt bit can be individually masked and subsequently be removed as an interrupt bit by setting the appropriate mask register bits in the mask register. interrupt indication is done in three ways: (1) mdint pin, (2) int bit in the mi serial port status output register, and (3) interrupt pulse on mdio. the mdint pin is an active low interrupt output indication. the int bit is an active high interrupt register bit that resides in the status output register. the interrupt pulse on mdio also indicates interrupt and is available when the interrupt pulse select bit is set in the mi serial port configuration 2 register. when
80220/80221 4-31 md400159/e 31 internal interrupt mdc mdio mdio hi-z pulled high externally mdio hi-z pulled high externally interrupt pulse internal interrupt mdc mdio last two bits of read cycle mdio hi-z pulled high externally interrupt pulse mdio hi-z pulled high externally b0 b1 figure 10. mdio interrupt pulse this bit is set, an interrupt is signalled by an low going pulse on mdio when mdc is high and the serial port is in the idle state, as shown in the timing diagram in figure 10. once mdio is forced low to indicate the interrupt condition, mdio stays low until mdc returns low. once mdc returns a.) interrupt happens during idle. b.) interrupt happens during read cycle. low, then mdio goes back to high impedance state. if the interrupt occurs while the serial port is being accessed, then the mdio interrupt pulse is delayed until one clock bit after the serial port access cycle is ended as shown in figure 10.
80220/80221 md400159/e 32 table 8. mi serial port frame structure idle st[1:0] read write phyad[4:0] regad[4:0] ta[1:0] d[15:0].... register 0 control register 1 status register 2 phy id #1 register 3 phy id #2 register 4 autonegotiation advertisement register 5 autonegotiation remote end capability register 16 configuration 1 register 17 configuration 2 register 18 status output register 19 mask register 20 reserved symbol name definition r/w idle idle pattern these bits are an idle pattern. device will not initiate an w mi cycle until it detects at least 32 1's. st1 start bits when st[1:0]=01, a mi serial port access cycle starts. w st0 read read select 1 = read cycle w write write select 1 = write cycle w phyad[4:0] physical device when phyad[4:0]=mda[4:0] pins inverted, the mi serial w address port is selected for operation. regad4[4:0] register address if regad[4:0]=00000-11110, these bits determine the w specific register from which d[15:0] is read/written. if multiple register access is enabled and regad[4:0]=11111, all registers are read/written in a single cycle. ta1 turnaround time these bits provide some turnaround time for mdio r/w ta0 when read=1, ta[1:0]=z0 when write=1, ta[1:0]=zz d[15:0].... data these 16 bits contain data to/from one of the eleven registers any selected by register address bits regad[4:0]. idle is shifted in first 4.0 register description
80220/80221 4-33 md400159/e 33 r/lt r/lt r r rr r r 0 1 r/lt r/lt r/lt r/lt r r/lt r/lt r/lt 0 0 00 01 0 0 00 00 0 0 x.6 x.7 x.8 x.9 x.13 x.10 x.15 x.14 x.11 x.12 x.3 x.0 x.5 x.4 x.1 x.2 r/w r/w r/w r/w r/w r/w r/w r/w 0 0 r/w r/wsc r/w r/w r/wsc r/w r/w r/w 0 0 1 1 or 0 00 0 1 00 00 0 0 control status autonegot. advertisement phy id #2 phy id #1 autonegot. remote capability status output configuration 2 configuration 1 mask reserved table 9. mi serial port register map 0 coltst dplx aneg_rst speed rst lpbk pdn aneg_en 00 00 0 0 mii_dis cap_supr 0 0 0 cap_txh cap_t4 cap_txf cap_th cap_tf cap_aneg jab aneg_ack rem_flt exreg link 0 r rr r r r/lh r/lh r/ll 0 0 r r rr rr r r 0 0 10 01 1 1 11 00 0 0 oui12 oui11 oui10 oui9 oui5 oui3 oui4 oui7 oui6 oui15 oui17 oui13 oui14 oui18 oui16 oui8 r rr r rr r r 0 0 r r rr rr r r 0 0 00 00 0 0 00 01 1 1 part2 part3 part4 part5 oui21 oui19 oui20 oui23 oui22 rev3 rev1 part1 part0 rev0 rev2 oui24 r rr r rr r r 0 0 r r rr rr r r 0 0 10 11 1 1 11 10_fdx tx_hdx tx_fdx t4 rf np ack 0 0 0 0 10_hdx 0 csma 0 0 r/w r/w r/w r/w r/w r/w r/w r/w 1 1 r/w r/w r/w r/w r/w r r/w r/w 1 0 00 00 0 0 01 10 0 0 10_fdx tx_hdx tx_fdx t4 rf np ack 0 0 0 0 10_hdx 0 csma 0 0 r rr r rr r r 0 0 r r rr rr r r 0 0 00 00 0 0 00 00 0 rlvl0 cable eqlzr unscr_dis xmt_pdn lnk_dis xmt_dis byp_enc txen_crs tlvl1 trf1 tlvl3 tlvl2 trf0 tlvl0 byp_scr r/w r/w r/w r/w r/w r/w r/w r/w 0 0 r/w r/w r/w r/w r/w r/w r/w r/w 0 0 00 00 0 0 00 10 1 0 pled2_1 pled3_1 pled3_0 pled1_1 pled2_0 r/w r/w r/w r/w r/w led_def1 r/w 0 1 pled1_0 r/w 1 11 1 1 dplx_det spd_det jab rpol loss_sync int lnk_fail ssd cwrd 00 00 0 0 esd mask_ dplx_det mask_ spd_det mask_ jab mask_ rpol mask_ loss_sync mask_ lnk_fail mask_ ssd mask_ cwrd 0 0 11 0 0 mask_ esd r/w r/w r r r/w r/w r r 1 1 r/w r/w r/w r/w r/w r/w r/w 1 1 11 11 1 00 11 0 0 0 0 0 0 0 0 0 0 00 0 r/w r/w r/w r/w 0 0 r/w r/w r/w r/w r/w r/w 0 0 00 r/w 00 0 0 r/w 0 00 0 1 4 3 2 5 16 19 18 17 20 pled0_0 r/w 1 pled0_1 r/w 1 0 r/w 0 0 r/w 0 r/j_cfg r/w 0 0 0 led_def0 apol_dis jab_dis mreg int_mdio 0 mask_ int r/w 0 r/w 0 r/w 0 r/w 0 r/w 0 r/w 0 r/w 0 r/w 0 0
80220/80221 md400159/e 34 table 10. mi register 0 (control) structure and bit definition 0.15 0.14 0.13 0.12 0.11 0.10 0.9 0.8 rst lpbk speed aneg_en pdn mii_dis aneg_rst dplx r/wsc r/w r/w r/w r/w r/w r/wsc r/w 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 coltst 0 0 00000 r/w r/w r/w r/w r/w r/w r/w r/w bit symbol name definition r/w def. 0.15 rst reset 1 = reset, bit self clearing after reset completed r/w 0 0 = normal sc 0.14 lpbk loopback enable 1 = loopback mode enabled r/w 0 0 = normal 0.13 speed speed select 1 = 100 mbps selected (100basetx) r/w 1 0 = 10 mbps selected (10baset) 0.12 aneg_en autonegotiation 1 = autonegotiation enabled r/w 1 enable 0 = normal 0.11 pdn powerdown enable 1 = powerdown r/w 0 0 = normal 0.10 mii_dis mii interface 1 = mii interface disabled r/w 1 1 disable 0 = normal 0.9 aneg_rst autonegotiation 1 = restart autonegotiation process, bit self r/w 0 reset clearing after reset completed sc 0 = normal 0.8 dplx duplex mode 1 = full duplex r/w 0 select 0 = half duplex 0.7 coltst collision test 1 = collision test enabled r/w 0 enable 0 = normal 0.6 reserved r/w 0 thru 0.0 x.15 bit is shifted first note 1: if mda[4:0] not = 11111, then the mii_dis default value is changed to 0
80220/80221 4-35 md400159/e 35 table 11. mi register 1 (status) structure and bit definition 1.15 1.14 1.13 1.12 1.11 1.10 1.9 1.8 cap_t4 cap_txf cap_txh cap_tf cap_th 0 0 0 rrrrrrrr 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0 0 cap_supr aneg_ack rem_flt cap_aneg link jab exreg r r r r/lh r r/ll r/lh r bit symbol name definition r/w def. 1.15 cap_t4 100base-t4 0 = not capable of 100base-t4 operation r 0 capable 1.14 cap_txf 100base-tx full 1 = capable of 100base-tx full duplex r 1 duplex capable 1.13 cap_txh 100base-tx half 1 = capable of 100base-tx half duplex r 1 duplex capable 1.12 cap_tf 10base-t full 1 = capable of 10base-t full duplex r 1 duplex capable 1.11 cap_th 10base-t half 1 = capable of 10base-t half duplex r 1 duplex capable 1.10 reserved r 0 thru 1.7 1.6 cap_supr mi preamble 0 = not capable of accepting mi frames with mi r 0 suppression preamble suppressed capable 1.5 aneg_ack autonegotiation 1 = autonegotiation acknowledgement process complete r 0 acknowledgment 0 = normal 1.4 rem_flt remote fault 1 = remote fault detected. this bit is set when r/lh 0 detect either interrupt detect bit 18.15 or autonegot- iation remote fault bit 5.13 is set. 0 = no remote fault 1.3 cap_aneg autonegotiation 1 = capable of autonegotiation operation r 1 capable 1.2 link link status 1 = link detected (same as bit 18.14 inverted) r/ll 0 0 = link not detected 1.1 jab jabber detect 1 = jabber detected (same as bit 18.8) r/lh 0 0 = normal 1.0 exreg extended 1 = extended registers exist r 1 register capable x.15 bit is shifted first
80220/80221 md400159/e 36 table 12. mi register 2 (phy id #1) structure and bit definition 2.15 2.14 2.13 2.12 2.11 2.10 2.9 2.8 oui3 oui4 oui5 oui6 oui7 oui8 oui9 oui10 rrrrrrrr 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 oui11 oui12 oui13 oui14 oui15 oui16 oui17 oui18 rrrrrrrr bit symbol name definition r/w def. 2.15 oui3 company id, seeq oui = 00-a0-7d r 0 2.14 oui4 bits 3-18 0 2.13 oui5 0 2.12 oui6 0 2.11 oui7 0 2.10 oui8 0 2.9 oui9 0 2.8 oui10 0 2.7 oui11 0 2.6 oui12 0 2.5 oui13 0 2.4 oui14 1 2.3 oui15 0 2.2 oui16 1 2.1 oui17 1 2.0 oui18 0 x.15 bit is shifted first
80220/80221 4-37 md400159/e 37 table 13. mi register 3 (phy id #2) structure and bit definition 3.15 3.14 3.13 3.12 3.11 3.10 3.9 3.8 oui19 oui20 oui21 oui22 oui23 oui24 part5 part4 rrrrrrrr 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0 part3 part2 part1 part0 rev3 rev2 rev1 rev0 rrrrrrrr bit symbol name definition r/w def. 3.15 oui19 company id, seeq oui = 00-a0-7d r 1 3.14 oui20 bits 19-24 1 3.13 oui21 1 3.12 oui22 1 3.11 oui23 1 3.10 oui24 0 3.9 part5 manufacturer's 03 h r0 3.8 part4 part number 0 3.7 part3 0 3.6 part2 0 3.5 part1 1 3.4 part0 1 3.3 rev3 manufacturer's r C 3.2 rev2 revision number C 3.1 rev1 C 3.0 rev0 C x.15 bit is shifted first table
80220/80221 md400159/e 38 table 14. mi register 4 (autonegotiation advertisement) structure 4.15 4.14 4.13 4.12 4.11 4.10 4.9 4.8 np ack rf 0 0 0 t4 tx_fdx r/w r r/w r/w r/w r/w r/w r/w 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 tx_hdx 10_fdx 10_hdx 0000 csma r/w r/w r/w r/w r/w r/w r/w r/w bit symbol name definition r/w def. 4.15 np next page enable 1 = next page exists [1] r/w 0 0 = no next page 4.14 ack acknowledge 1 = received autonegotiation word recognized r 0 0 = not recognized 4.13 rf remote fault 1 = autonegotiation remote fault detected r/w 0 enable 0 = no remote fault 4.12 reserved r/w 0 4.11 0 4.10 0 4.9 t4 100base-t4 1 = capable of 100base-t4 r/w 0 capable 0 = not capable 4.8 tx_fdx 100base-tx full 1 = capable of 100base-tx full duplex r/w 1 duplex capable 0 = not capable 4.7 tx_hdx 100base-tx half 1 = capable of 100base-tx half duplex r/w 1 duplex capable 0 = not capable 4.6 10_fdx 10base-t full 1 = capable of 10base-t full duplex r/w 1 duplex capable 0 = not capable 4.5 10_hdx 10base-t half 1 = capable of 10base-t half duplex r/w 1 duplex capable 0 = not capable 4.4 reserved r/w 0 thru 0 4.1 0 0 4.0 csma csma 802.3 1 = capable of 802.3 csma operation r/w 1 capable 0 = not capable x.15 bit is shifted first note 1. next page currently not supported.
80220/80221 4-39 md400159/e 39 table 15. mi register 5 (autonegotiation remote end capability) structure 5.15 5.14 5.13 5.12 5.11 5.10 5.9 5.8 np ack rf 0 0 0 t4 tx_fdx rrrrrrrr 5.7 5.6 5.5 5.4 5.3 5.2 5.1 5.0 tx_hdx 10_fdx 10_hdx 0000 csma rrrrrrrr bit symbol name definition r/w def. 5.15 np next page enable 1 = next page exists r 0 0 = no next page 5.14 ack acknowledge 1 = received autonegotiation word recognized r 0 0 = not recognized 5.13 rf remote fault 1 = autonegotiation remote fault detected r 0 enable 0 = no remote fault 5.12 reserved r 0 5.11 0 5.10 0 5.9 t4 100base-t4 1 = capable of 100base-t4 r 0 capable 0 = not capable 5.8 tx_fdx 100base-tx full 1 = capable of 100base-tx full duplex r 0 duplex capable 0 = not capable 5.7 tx_hdx 100base-tx half 1 = capable of 100base-tx half duplex r 0 duplex capable 0 = not capable 5.6 10_fdx 10base-t full 1 = capable of 10base-t full duplex r 0 duplex capable 0 = not capable 5.5 10_hdx 10base-t half 1 = capable of 10base-t half duplex r 0 duplex capable 0 = not capable 5.4 reserved r 0 thru 0 5.1 0 0 5.0 csma csma 802.3 1 = capable of 802.3 csma operation r 0 capable 0 = not capable x.15 bit is shifted first
80220/80221 md400159/e 40 table 16. mi register 16 (configuration 1) structure and bit definition 16.15 16.14 16.13 16.12 16.11 16.10 16.9 16.8 lnk_dis xmt_dis xmt_pdn txen_crs byp_enc byp_scr 0 eqlzr r/w r/w r/w r/w r/w r/w r/w r/w 16.7 16.6 16.5 16.4 16.3 16.2 16.1 16.0 cable rlvl0 tlvl3 tlvl2 tlvl1 tlvl0 trf1 trf0 r/w r/w r/w r/w r/w r/w r/w r/w bit symbol name definition r/w def. 16.15 lnk_dis link disable 1 = receive link detect function disabled r/w 0 (force link pass) 0 = normal 16.14 xmt_dis tp transmit 1 = tp transmitter disabled r/w 0 disable 0 = normal 16.13 xmt_pdn tp transmit 1 = tp transmitter powered down r/w 0 powerdown 0 = normal 16.12 txen_crs txen to crs 1 = tx_en to crs loopback disabled r/w 0 loopback disable 0 = enabled 16.11 byp_enc bypass 1 = bypass 4b5b encoder/decoder r/w 0 encoder/decoder 0 = no bypass select 16.10 byp_scr bypass 1 = bypass scrambler/descrambler r/w 0 scrambler/descr- 0 = no bypass ambler select 16.9 unscr_dis unscrambled idle 1 = disable autonegotiation with devices that r/w 0 reception disable transmit unscrambled idle on powerup and various instances 0 = enables autonegotiation with devices that transmit unscramblled idle on powerup and various instances 16.8 eqlzr receive equalizer 1 = receive equalizer disabled, set to 0 length r/w 0 select 0 = receive equalizer on (for 100mb mode only) 16.7 cable cable type select 1 = stp (150 ohm) r/w 0 0 = utp (100 ohm) 16.6 rlvl0 receive input 1 = receive squelch levels reduced by 4.5 db r/w 0 level adjust 0 = normal 16.5 tlvl3 transmit output see table 3 r/w 1 16.4 tlvl2 level adjust 0 16.3 tlvl1 0 16.2 tlvl0 0 16.1 trf1 transmitter 11 = -0.25 ns r/w 1 16.0 trf0 rise/fall time 10 = +0.0 ns 0 adjust 01 = +0.25 ns 00 = +0.50 ns x.15 bit is shifted first
80220/80221 4-41 md400159/e 41 table 17. mi register 17 (configuration 2) structure and bit definition 17.15 17.14 17.13 17.12 17.11 17.10 17.9 17.8 pled3_1 pled3_0 pled2_1 pled2_0 pled1_1 pled1_0 pled0_1 pled0_0 r/w r/w r/w r/w r/w r/w r/w r/w 17.7 17.6 17.5 17.4 17.3 17.2 17.1 17.0 led_def1 led_def0 apol_dis jab_dis mreg int_mdio p26_cfg 0 r/w r/w r/w r/w r/w r/w r/w r/w bit symbol name definition r/w def. 17.15 pled3_1 programmable led 11 = normal (pled3 is determined by r/w 11 17.14 pled3_0 output select, pin bits 17.7-17.6 and table 5. pled3 default is link100) 10 = led blink (pled3 is toggling 100 ms low, 100 ms high) 01 = led on (pled3 is low) 00 = led off (pled3 is high) 17.13 pled2_1 programmable led 11 = normal (pled2 is determined by r/w 11 17.12 pled2_0 output select, pin bits 17.7-17.6 and table 5. pled2 default is activity) 10 = led blink (pled2 is toggling 100 ms low, 100 ms high) 01 = led on (pled2 is low) 00 = led off (pled2 is high) 17.11 pled1_1 programmable led 11 = normal (pled1 is determined by r/w 11 17.10 pled1_0 output select, pin bits 17.7-17.6 and table 5. pled1 default is full duplex) 10 = led blink (pled1 is toggling 100 ms low, 100 ms high) 01 = led on (pled1 is low) 00 = led off (pled1 is high) 17.9 pled0_1 programmable led 11 = normal (pled0 is determined by r/w 11 17.8 pled0_0 output select, pin bits 17.7-17.6 and table 5. pled0 default is link10) 10 = led blink (pled0 is toggling 100 ms low, 100 ms high) 01 = led on (pled0 is low) 00 = led off (pled0 is high) 17.7 led_def1 led normal see table 5 r/w 0 17.6 led_def0 function select 17.5 apol_dis auto polarity 1 = auto polarity correction function disabled r/w 0 disable 0 = normal 17.4 jab_dis jabber disable 1 = jabber disabled r/w 0 select 0 = enabled 17.3 mreg multiple register 1 = multiple register access enabled r/w 0 access enable 0 = no multiple register access 17.2 int_mdio interrupt scheme 1 = interrupt signaled with mdio pulse during idle r/w 0 select 0 = interrupt not signalled on mdio 17.1 r/j_cfg r/j configuration 1 = rx_en/jam pin is configured to be jam r/w 0 select 0 = rx_en/jam pin is configured to be rx_en 17.0 reserved r/w 0
80220/80221 md400159/e 42 table 18. mi register 18 (status output) structure and bit definition 18.15 18.14 18.13 18.12 18.11 18.10 18.9 18.8 int lnk_fail loss_sync cwrd ssd esd rpol jab r r/lt r/lt r/lt r/lt r/lt r/lt r/lt 18.7 18.6 18.5 18.4 18.3 18.2 18.1 18.0 spd_det dplx_det 0 0 0 0 0 0 r/lt r/lt r r r r r r bit symbol name definition r/w def. 18.15 int interrupt detect 1 = interrupt bit(s) have changed since last r 0 read operation. 0 = no change 18.14 lnk_fail link fail detect 1 = link not detected r/lt 0 0 = normal 18.13 loss_sync descrambler 1 = descrambler has lost synchronization r/lt 0 loss of 0 = normal synchronization detect 18.12 cwrd codeword error 1 = invalid 4b5b code detected on receive data r/lt 0 0 = normal 18.11 ssd start of stream 1 = no start of stream delimiter detected on r/lt 0 error receive data 0 = normal 18.10 esd end of stream 1 = no end of stream delimiter detected on r/lt 0 error receive data 0 = normal 18.9 rpol reverse polarity 1 = reverse polarity detected r/lt 0 detect 0 = normal 18.8 jab jabber detect 1 = jabber detected r/lt 0 0 = normal 18.7 spd_det 100/10 speed 1 = device in 100 mbps mode (100base-tx) r/lt 1 detect 0 = device in 10 mbps mode (10base-t) 18.6 dplx_det duplex detect 1 = device in full duplex r/lt 0 0 = device in half duplex 18.5 reserved for factory use r 0 18.4 0 18.3 0 18.2 0 18.1 0 18.0 0 x.15 bit is shifted first
80220/80221 4-43 md400159/e 43 table 19. mi register 19 (mask) structure and bit definition 19.15 19.14 19.13 19.12 19.11 19.10 19.9 19.8 mask_ mask_ mask_ mask_ mask_ mask_ mask_ mask_ int lnk_fail loss_sync cwrd ssd esd rpol jab r/w r/w r/w r/w r/w r/w r/w r/w 19.7 19.6 19.5 19.4 19.3 19.2 19.1 19.0 mask_ mask_ 110000 spd_det dplx_det r/wr/wr/wr/wrrrr bit symbol name definition r/w def. 19.15 mask_ int interrupt mask - 1 = mask interrupt for int in register 18 r/w 1 interrupt detect 0 = no mask 19.14 mask_ interrupt mask - 1 = mask interrupt for lnk_fail in register 18 r/w 1 lnk_fail link fail detect 0 = no mask 19.13 mask_ interrupt mask - 1 = mask interrupt for loss_sync in register 18 r/w 1 loss_sync descrambler loss of 0 = no mask synchronization detect 19.12 mask_ interrupt mask - 1 = mask interrupt for cwrd in register 18 r/w 1 cwrd codeword error 0 = no mask 19.11 mask_ interrupt mask - start 1 = mask interrupt for ssd in register 18 r/w 1 ssd of stream error 0 = no mask 19.10 mask_ interrupt mask -end 1 = mask interrupt for esd in register 18 r/w 1 esd of stream error 0 = no mask 19.9 mask_ interrupt mask - 1 = mask interrupt for rpol in register 18 r/w 1 rpol reverse polarity 0 = no mask detect 19.8 mask_ interrupt mask - 1 = mask interrupt for jab in register 18 r/w 1 jab jabber detect 0 = no mask 19.7 mask_ interrupt mask - 1 = mask interrupt for spd_det in register 18 r/w 1 spd_det 100/10 speed detect 0 = no mask 19.6 mask_ interrupt mask - 1 = mask interrupt for dplx_det in register 18 r/w 1 dplx_det duplex detect 0 = no mask 19.5 reserved. must be written to 1 or left at default for r/w 1 19.4 normal operation 19.3 reserved r 0 19.2 0 19.1 0 19.0 0 x.15 bit is shifted first
80220/80221 md400159/e 44 table 20. mi register 20 (reserved) structure and bit definition 20.15 20.14 20.13 20.12 20.11 20.10 20.9 20.8 00000000 r/w r/w r/w r/w r/w r/w r/w r/w 20.7 20.6 20.5 20.4 20.3 20.2 20.1 20.0 00000000 r/w r/w r/w r/w r/w r/w r/w r/w bit symbol name definition r/w def. 20.15 reserved for factory use. must be written to 0 for r/w 0 20.14 normal operation 0 20.13 0 20.12 0 20.11 0 20.10 0 20.9 0 20.8 0 20.7 0 20.6 0 20.5 0 20.4 0 20.3 0 20.2 0 20.1 0 20.0 0 x.15 bit is shifted first
80220/80221 4-45 md400159/e 45 5.2 tp transmit interface the interface between the tp outputs on tpo and the twisted pair cable is typically transformer coupled and terminated with the two resistors as shown in figures 11- 13. the transformer for the transmitter is recommended to have a winding ration of 2:1 with a center tap on the 2x winding tied to vcc, as shown in figures 11-13. the specifications for such a transformer are shown in table 21. sources for the transformer are listed in table 22. the transmit output needs to be terminated with two external termination resistors in order to meet the output impedance and return loss requirements of ieee 802.3. it is recommended that these two external resistors be connected from vcc to each of the tpo outputs, and their value should be chosen to provide the correct termi- nation impedance when looking back through the trans- former from the twisted pair cable, as shown in figures 11- 13. the value of these two external termination resistors depends on the type of cable driven by the device. refer to the cable selection section for more details on choosing the value of these resistors. to minimize common mode output noise and to aid in meeting radiated emissions requirements, it may be nec- essary to add a common mode choke on the transmit outputs as well as add common mode bundle termination. the qualified transformers mentioned in table 22 all contain common mode chokes along with the transform- ers on both the transmit and receive sides, as shown in figures 11-13. common mode bundle termination may be needed and can be achieved by tying the unused pairs in the rj45 to chassis ground through 75 ohm resistors and a 0.01 uf capacitor, as shown in figures 11-13. to minimize noise pickup into the transmit path in a system or on a pcb, the loading on tpo should be minimized and both outputs should always be loaded equally. 5.0 application information 5.1 example schematics a typical example schematic of the 80220/80221 used in an adapter card application is shown in figure 11, a hub application is shown in figure 12, and an external phy application is shown in figure 13. 5.3 tp receive interface receive data is typically transformer coupled into the receive inputs on tpi and terminated with external resistors as shown in figures 11-13. the transformer for the receiver is recommended to have a winding ration of 1:1, as shown in figures 11-13. the specifications for such a transformer are shown in table 21. sources for the transformer are listed in table 22. the receive input needs to be terminated with the correct termination impedance meet the input impedance and return loss requirements of ieee 802.3. in addition, the receive tp inputs need to be attenuated. it is recom- mended that both the termination and attenuation be accomplished by placing four external resistors in series across the tpi inputs as shown in figures 11-13. the resistors should be 15%/35%/35%/15% of the total series resistance, and the total series resistance should be equal to the characteristic impedance of the cable (100 ohms for utp, 150 ohms for stp). it is also recommended that a 0.01 m f capacitor be placed between the center of the series resistor string and vcc in order to provide an ac ground for attenuating common mode signal at the input. this capacitor is also shown in figures 11-13. to minimize common mode input noise and to aid in meeting susceptibility requirements, it may be necessary to add a common mode choke on the receive input as well as add common mode bundle termination. the qualified transformers mentioned in table 22 all contain common mode chokes along with the transformers on both the transmit and receive sides, as shown in figures 11-13. common mode bundle termination may be needed and can be achieved by tying the receive secondary center tap and the unused pairs in the rj45 to chassis ground through 75 ohm resistors and a 0.01 m f capacitor, as shown in figures 11-13. in order to minimize noise pickup into the receive path in a system or on a pcb, loading on tpi should be minimized and both inputs should be loaded equally.
80220/80221 md400159/e 46 figure 11. typical network interface card schematic using 80220 10/100 mb ethernet controller seeq 80c300 or equiv. tx_clk txd3 txd2 txd1 txd0 tx_en tx_er col rx_clk rxd3 rxd2 rxd1 rxd0 crs rx_dv rx_er mdc mdio pled3 pled2 pled1 pled0 (optional) (optional) 80220 (44l) 4 led 500 4x optional oscin 25 mhz gnd [6:1] v [6:1] cc tpo+ tpo 2:1 200 1% 200 1% tpi+ mdint rx_en/jam trfadj1 trfadj0 rext 10k 1% bus interface system bus tpi 1:1 35 1% 15 1% 15 1% 35 1% 0.01 rj45 4 5 7 8 6 3 2 1 75 0.01 75 75 75 2 kv
80220/80221 4-47 md400159/e 47 figure 12. typical switching port schematic using 80220 tx_clk txd3 txd2 txd1 txd0 tx_en tx_er col rx_clk rxd3 rxd2 rxd1 rxd0 crs rx_dv rx_er mdc mdio pled3 pled2 pled1 pled0 (optional) (optional) 80220 (44l) 4 led 500 4x optional 25 mhz system clock v [6:1] cc tpo+ tpo 2:1 200 1% 200 1% tpi+ mdint rx_en/jam oscin gnd [6:1] trfadj1 trfadj0 rext 10k 1% tpi 1:1 35 1% 15 1% 15 1% 35 1% 0.01 rj45 4 5 7 8 6 3 2 1 75 75 75 0.01 84c300 quad 100/10 ethernet controller switch fabric 50k 75 2 kv
80220/80221 md400159/e 48 figure 13. typical external phy schematic using 80220 mii connector tx_clk txd3 txd2 txd1 txd0 tx_en tx_er col rx_clk rxd3 rxd2 rxd1 rxd0 crs rx_dv rx_er mdc mdio pled3 pled2 pled1 pled0 (optional) (optional) 80220 (44l) 4 led 500 4x optional oscin 25 mhz system clock gnd [6:1] v [6:1] cc tpo+ tpo 2:1 200 1% 200 1% tpi+ mdint rx_en/jam trfadj1 trfadj0 rext 10k 1% tpi 1:1 35 1% 15 1% 15 1% 35 1% 0.01 rj45 4 5 7 8 6 3 2 1 75 75 75 0.01 24.9 1% 1.5k 5% 75 2 kv
80220/80221 4-49 md400159/e 49 table 21. tp transformer specification parameter specification transmit receive turns ratio 2:1 ct 1:1 inductance, ( m h min) 350 350 leakage inductance, ( m h) 0.05-0.15 0.0-0.2 capacitance (pf max) 15 15 dc resistance (ohms max) 0.4 0.4 table 22. tp transformer sources vendor part number valor st6129 nanopulse npi 6254-30 pca epf 8025g belfuse s558-5999-96 or s558-5999-98 pulse engineering h1038/h1039 ycl pt 163042 5.4 tp transmit output current set the tpo output current level is set by an external resistor tied between rext and gnd. this output current is determined by the following equation where r is the value of rext: i out = (10k/r) i ref where i ref = 20 ma (100 mbps, utp) = 16.3 ma (100 mbps, stp) = 50 ma (10 mbps, utp) = 40.8 ma (10 mbps, stp) for 100 ohm utp (unshielded twisted pair cable), rext should be typically set to 10k ohms and rext should be a 1% resistor in order to meet ieee 802.3 specified levels. once rext is set for the 100 mbps and utp modes as shown by the equation above, i ref is then automatically changed inside the device when the 10 mbps mode or utp120/stp150 modes are selected. keep rext close to the rext and gnd pins as possible in order to reduce noise pickup into the transmitter. since the tp output is a current source, capacitive and inductive loading can reduce the output voltage level from the ideal. thus, in actual application, it might be neces- sary to adjust the value of the output current to compen- sate for external loading. one way to adjust the tp output level is to change the value of the external resistor tied to rext. a better way to adjust the tp output level is to use the transmit level adjust register bits accessed through the mi serial port. these four bits can adjust the output level by -14% to +16% in 2% steps as described in table 3. 5.5 cable selection the 80220/80221 can drive two different cable types: (1) 100 ohm unshielded twisted pair, category 5, or (2) 150 ohm shielded twisted pair. the 80220/80221 must be properly configured for the type of cable in order to meet the return loss specifications in ieee 802.3. this configuration requires setting a bit in the serial port and setting the value of some external resistors, as described in table 23. the cable type select bit in table 23 is a bit in the mi serial port configuration 1 register that sets the output current level for the cable type. r term in table 23 is the value of the termination resistors needed to meet the level and return loss requirements. the value for r term on the tpo outputs is for the two external termination resistors connected between vcc to tpo ; the value for r term on the tpi inputs is for the sum of the four series resistors across tpi , as shown in figures 11-13. these resistors should be 1% tolerance. also note that some output level adjustment may be necessary due to parasitics as described in the tp output current section. table 23. cable configuration cable type cable type r term (ohms) select bit (16.7) tpo tpi 100 ohm utp, cat. 5 utp 200 100 150 ohm stp stp 300 150 5.6 transmitter droop the ieee 802.3 specification has a transmit output droop requirement for 100basetx. since the 80220/80221 tp output is a current source, it has no perceptible droop by itself. however, the inductance of the transformer added to the device transmitter output as shown in figures 11-13 will cause droop to appear at the transmit interface to the tp wire. if the transformer connected to the 80220/80221 outputs meets the requirements in table 21, the transmit interface to the tp cable will meet the ieee 802.3 droop requirements. *
80220/80221 md400159/e 50 5.7 mii controller interface 5.7.1 general the mii controller interface allows the 80220/80221 to connect to any external ethernet controller without any glue logic provided that the external ethernet controller has a mii interface that complies with ieee 802.3, as shown in figures 11-12. 5.7.2 clocks standard ethernet controllers with a mii use tx_clk to clock data in on txd[3:0]. tx_clk is specified in ieee 802.3 and on the 80220/80221 to be an output. if a nonstandard controller or other digital device is used to interface to the 80220/80221, there might be a need to clock txd[3:0] into the 80220/80221 on the edges of an external master clock. the master clock, in this case, would be an input to the 80220/80221. this can be done by using oscin as the master clock input; since oscin generates tx_clk inside the 80220/80221, data on txd[3:0] can be clocked into the 80220/80221 on edges of output clock tx_clk or input clock oscin. in the case where oscin is used as the input clock, a crystal is no longer needed on oscin, and tx_clk can be left open or used for some other purpose. 5.7.3 output drive the digital outputs on the 80220/80221 controller signals meet the mii driver characteristics specified in ieee 802.3 and shown in figure 14 if external 24.9 ohm 1% termina- tion resistors are added. these termination resistors are only needed if the outputs have to drive a mii cable or other transmission line type load, such as in the external phy application shown in figure 13. if the 80220/80221 is used in embedded applications, such as adapter cards and switching hubs shown in figure 11 and 12, then these terminations resistors are not needed. 5.7.4 mii disable the mii outputs can be placed in the high impedance state and inputs disabled by setting the mii disable bit in the mi serial port control register. when this bit is set to the disable state, the tp outputs are also disabled and trans- figure 14. mii output driver characteristics i - v i (ma) v (volts) i 1 , v 1 C20 1.10 i 2 , v 2 C4 2.4 i 3 , v 3 4 0.40 i 4 , v 4 43 3.05 v 3 i 3 i 4 v 4 iol vol voh v cc i 2 v 2 i 1 v 1 ioh = 40 ohm rol min = 40 ohm rol min
80220/80221 4-51 md400159/e 51 mission is inhibited. the default value of this bit when the device powers up or is reset is dependent on the physical device address. if the device address latched into mda[4:0] at reset is 11111, it is assumed that the device is being used in applications where there maybe more than one device sharing the mii bus, like external phy's or adapter cards, so the device powers up with the mii interface disabled. if the device address latched into mda[4:0] at reset is not 11111, it is assumed that the device is being used in application where it is the only device on the mii bus, like hubs, so the device powers up with the mii interface enabled. 5.7.5 receive output enable the receive output enable pin, rx_en, forces the receive and collision mii/fbi outputs into the high impedance state. more specifically, when rx_en is deasserted, rx_clk, rxd[3:0], rx_dv, rx_er, and col are placed in high impedance. rx_en can be used to "wire or" the outputs of many 80220/80221 devices in multiport applications where only one device may be receiving at a time, like a repeater. by monitoring crs from each individual port, the repeater can assert only the one rx_en to that 80220/80221 device which is receiving data. the method will reduce, by 8 per device, the number of pins and pcb traces required by a repeater core ic. the rx_en function can be enabled by appropriately setting the r/j configuration select bit in the mi serial port configuration 2 register. when this bit is set, the rx_en/ jam pin becomes rx_en. 5.8 fbi controller interface the fbi (five bit interface) controller interface has the same characteristics of the mii except that the data path is five bits wide, instead of 4 bits wide per the mii. the five bit wide data path is automatically enabled when the 4b5b encoder is bypassed. because of this encoder/decoder bypass, the fbi is used primarily for repeaters or other applications where the full phy is not needed. for more details about the fbi, see the repeater applications section. 5.9 repeater applications 5.9.1 mii based repeaters the 80220/80221 can be used as the physical interface for mii based repeaters by using the standard mii as the interface to the repeater core. for most repeaters, it is necessary to disable the internal crs loopback. this can be done be setting the tx_en to crs loopback disable bit in the mi serial port configura- tion 1 register. for some particular types of repeaters, it may be desirable to either enable or disable autonegotiation, force half duplex operation, and enable either 100 mbps or 10 mbps operation. all of these modes can be configured by setting the appropriate bits in the mi serial port control register. the 80221 has a rptr pin which will automatically configure the device for one common type of repeater application. when the rptr pin is asserted, (1) tx_en to crs loopback is disabled, (2) autonegotiation is disabled, (3) half duplex operation is selected, and (4) 100 mbps operation is selected. the mii requires 16 signals between the 80220/80221 and a repeater core. the mii signal count to a repeater core will be 16 multiplied by the number of ports, which can be quite large. the signal count between the 80220/80221 and repeater core can be reduced by 8 per device by sharing the receive output pins and using rx_en to enable only that port where crs is asserted. refer to the controller interface section within the applications section for more details about rx_en. 5.9.2 non-mii based repeaters the fbi interface available on the 80220/80221 can be used to connect to non-mii based repeaters that employ the industry popular five bit wide interface. since the fbi is a 5 bit wide interface, it requires that the 4b5b encoder/decoder be bypassed. the fbi is automati- cally selected on the 80220/80221 when the 4b5b en- coder/decoder is bypassed. the 4b5b encoder/decoder can be bypassed by setting the bypass encoder/decoder select bit in the mi serial port configuration 1 register. some applications may also require the scrambler/ descrambler to be bypassed. this can be done by setting the bypass scrambler/descrambler select bit in the mi serial port configuration 1 register. for most repeaters, it is necessary to disable the internal crs loopback. this can be done be setting the tx_en to crs loopback disable bit in the mi serial port configura- tion 1 register. for some particular types of repeaters, it may be desirable to either enable or disable autonegotiation, force half duplex operation, and enable either 100 mbps or 10 mbps operation. all of these modes can be configured by setting the appropriate bits in the mi serial port control register.
80220/80221 md400159/e 52 the fbi requires 16 signals between the 80220/80221 and a repeater core. the fbi signal count to a repeater core will be 16 multiplied by the number of ports, which can be quite large. the signal count between the 80220/80221 and repeater core can be reduced by 8 per device by sharing the receive output pins and using rx_en to enable only that port where crs is asserted. refer to the controller interface section within the applications section for more details on rx_en. 5.9.3 clocks normally, transmit data over the mii/fbi is clocked into the 80220/80221 with edges from the output clock tx_clk. it may be desireable or necessary in some repeater applica- tions to clock in the transmit data from a master clock from the repeater core. this would require that transmit data be clocked in on edges of an input clock. an input clock is available for clocking in data on txd with the oscin pin. notice from the timing diagrams that oscin generates tx_clk, and txd data is clocked in on tx_clk edges. this means that txd data is also clocked in on oscin edges as well. thus, an external clock driving the oscin input can also be used as the clock for txd. 5.10 serial port 5.10.1 general the 80220/80221 has a mi serial port to access the devices's configuration inputs and read out the status outputs. any external device that has a ieee 802.3 compliant mi interface can connect directly to the 80220/ 80221 without any glue logic, as shown in figures 11-13. as described earlier, the mi serial port consists of 8 lines: mdc, mdio, mdint, and mda[4:0]. however, only 2 lines, mdc and mdio, are needed to shift data in and out; mdint and mda[4:0] are not needed but are provided for convenience only. note that the mda[4:0] addresses are inverted inside the 80220/80221 before going to the mi serial port block. this means that the mda[4:0] pins would have to be pin strapped to 11111 externally in order to successfully match the mi physical address of 00000 on the phyad[4:0] bits internally. 5.10.2 polling vs. interrupt the status output bits can be monitored by either polling the serial port or with interrupt. if polling is used, the registers can be read at regular intervals and the status bits can be checked against their previous values to determine any changes. to make polling simpler, all the registers can be accessed in a single read or write cycle by setting the register address bits regad[4:0] to 11111 and adding enough clocks to read- out out all the bits, provided the multiple register access feature has been enabled. the interrupt feature offers the ability to detect changes in the status output bits without register polling. assertion of interrupt indicates that one or more of the status output bits has changed since the last read cycle. there are three interrupt output indicators on the 80220/80221: (1) mdint pin, (2) int bit in the mi serial port status output register, and (3) interrupt pulse on mdio. these interrupt signals can be used by an external device to initiate a read cycle. then when an interrupt is detected, the individual registers (or multiple registers) can be read out and the status bits compared against their previous values to determine any changes. after the interrupt its have been read out, the interrupt signals are automatically deasserted. a mask register bit exists for every status output bit in the mask register so that the interrupt bits can be individually pro- grammed for each application. 5.10.3 multiple register access if the mi serial port needs to be constantly polled in order to monitor changes in status output bits, or if it is desired that all registers be read or written in a singleserial port access cycle, multiple register access mode can be used. multiple register access allows access to all registers in a single mi serial port access cycle. when multiple register access is enabled, then all the registers are read/written when the register address regad[4:0]=11111. this eliminates the need to read or write registers individually. multiple register access mode is normally disabled but it can be enabled by setting the multiple register access enable bit in the mi serial port configuration 2 register. 5.10.4 serial port addressing the device address for the mi serial port are selected by tying the mda[4:0] pins to the desired value. mda[4:0] share the same pins as the mdint and pled[3:0] out- puts, respectively, as shown figure 15a. at powerup or reset, the output drivers are tristated for an interval called the power-on reset time. during the power-on reset interval, the value on these pins is latched into the device, inverted, and used as the mi serial port address. the led outputs are open drain with internal resistor pullup to vcc. if an led is desired on the led outputs, then an led and resistor are tied to vcc as shown in figures 15b. if a high address is desired, then the led to vcc automatically makes the latched address value a high. if a low value for
80220/80221 4-53 md400159/e 53 the address is desired, then a 50k resistor to gnd must be added as shown in figure 15b. if no led's are needed on the led outputs, the selection of addresses can be done as shown in figure 15c. if a high address is desired, the pin should be left floating and the internal pullup will pull the pin high during power-on reset time and latch in a high address value. if a low address is desired, then the mdint and pled[3:0] output pins should be tied either directly to gnd or through an optional 50k resistor to gnd. pled3 should always be tied through a 50k resistor to gnd since it has both pullup and pulldown capability. the optional 50k resistor also allows the mdint and pled[2:0] pins to be used as digital outputs under normal conditions. note that the mda[4:0] addresses are inverted inside the 80220/80221 before going to the mi serial port block. this means that the mda[4:0] pins would have to be pin strapped to 11111 externally in order to successfully match the mi physical address bits phyad[4:0]=00000 internally. figure 15. serial device port address selection 5.11 long cable ieee 802.3 specifies that 10baset and 100basetx oper- ate over twisted pair cable lengths of between 0-100 meters. the squelch levels can be reduced by 4.5 db if the receive level adjust bit is appropriately set in the mi serial port configuration 1 register, which will allow the 80220/ 80221 to operate with up to 150 meters of twisted pair cable. the equalizer is already designed to accommodate between 0-125 meters of cable. 5.12 automatic jam the 80220/80221 has an automatic jam generation fea- ture which automatically transmits a jam packet when receive activity is detected. this feature is primarily de- signed to give the user a means to easily implement half duplex flow control. in a typical application, a watermark signal from a system fifo or memory would be tied directly to the jam pin. when the system fifo is nearly full and more data is incoming from receiver, the device will automatically transmit a jam packet and create a collision which will cause the far end device to backoff allowing time for the system fifo to empty itself. the jam generation feature requires that the rx_en/jam pin be programmed for jam. this can be done by appropriately setting the r/j configuration select bit in the mi serial port configuration 2 register. 5.13 oscillator the 80220/80221 requires a 25 mhz reference frequency for internal signal generation. this 25 mhz reference frequency can be generated by either connecting an external 25 mhz crystal between oscin and gnd or by applying an external 25 mhz clock to oscin. if the crystal oscillator is used, it needs only a crystal, and no other external capacitors or other components are required. the crystal must have the characteristics shown in table 24. the crystal must be placed as close as possible to oscin and gnd pins so that parasitics on oscin are kept to a minimum. table 24. crystal specifications parameter spec type parallel resonant frequency 25 mhz +/- 0.01% equivalent series 25 ohms max resistance load capacitance 18 pf typ case capacitance 7 pf max power 1mw max dissipation a.) output driver / input address correspondence b.) setting address with leds 500 500 50 k high low c.) setting address without leds high low float pled3 pled2 pled1 pled0 mdint pled3 pled2 pled1 pled0 mdint pled3 pled2 pled1 pled0 pled3 pled2 pled1 pled0 mda3 mda2 mda1 mda0 pled3 pled2 pled1 pled0 mdint mda4 mdint (opt) mdint 50k
80220/80221 md400159/e 54 5.14 programmable led drivers the pled[5:0] outputs can all drive led's tied to vcc as shown in figures 11-13. in addition, pled1 and pled0 can drive an led tied to gnd as well as vcc. the pled[3:0] outputs can be programmed through the mi serial port to do 4 different functions: (1) normal function (2) on, (3) off, and (4) blink. pled[3:0] can be programmed to indicate 4 different sets of events with the led normal function select bits in the mi serial port configuration 2 register. in addition, pled[3:0] can be user controlled by appropriately setting the led output select bits in the mi serial port configuration 2 register. when pled[3:0] is programmed for its normal function, these outputs indicate the specific functions described in table 5 and determined by the led normal function select bits. when pled[3:0] is programmed to be on, the led output driver go low, thus turning on the led under user control. when pled[3:0] is programmed to be off, the led output driver will turn off, thus turning off the led under user control. when pled[3:0] is programmed to blink, the led output driver will continuously blink at a rate of 100 ms on, 100 ms off. the on and off functions allow the led driver to be controlled directly through the mi serial port to indicate any function that is desired under external control. the blink function allows the same external control of the led driver and also offers the provision to blink the led without the need for any external timers. the pled[5:0] outputs can also drive other digital inputs. thus, pled[5:0] can also be used as digital outputs whose function can be user defined and controlled through the mi serial port. note that pled1 and pled0 pins have both pullup and pulldown transistors. this allows these pins to drive an led from vcc or to gnd. when pled0 is programmed to be 10/100 mbps select, two leds can be connected to this pin, one to vcc to indicated 100 mbps mode is enabled, the other to gnd to indicate 10 mbps mode is enabled. similarly, when pled1 is programmed to be a half/full duplex mode indication, two leds can be con- nected to this pin, one to vcc to indicate full duplex mode is enabled, the other to gnd to indicate half duplex mode is enabled. 5.15 power supply decoupling there are six vcc's on the 80220/80221 (vcc[6:1]) and six gnd's (gnd[6:1]). all six vcc's should be connected together as close as possible to the device with a large vcc plane. if the vcc's vary in potential by even a small amount, noise and latchup can result. the vcc's should be kept to within 50 mv of each other. all six gnd's should also be connected together as close as possible to the device with a large ground plane. if the gnd's vary in potential by even a small amount, noise and latchup can result. the vcc's should be kept to within 50 mv of each other. a 0.01-0.1 m f decoupling capacitor should be connected between each vcc/gnd set as close as possible to the device pins, preferably within 0.5". the value should be chosen on whether the noise from vcc-gnd is high or low frequency. a conservative approach would be to use two decoupling capacitors on each vcc/gnd set, one 0.1 m f for low frequency and one 0.001 m f for high frequency noise on the power supply. the vcc connection to the transmit transformer center tap shown in figures 11-13 has to be well decoupled in order to minimize common mode noise injection from the supply into the twisted pair cable. and is recommended that a 0.01 m f decoupling capacitor be placed between the center tap vcc to the s004 gnd plane. this decoupling capacitor should be physically placed as close as possible to the transformer center tap, preferably within 0.5" the pcb layout and power supply decoupling discussed above should provide sufficient decoupling to achieve the following when measured at the device: (1) the resultant ac noise voltage measured across each vcc/gnd set should be less than 100 mvpp, (2) all vcc's should be within 50 mvpp of each other, and (3) all gnd's should be within 50 mvpp of each other.
80220/80221 4-55 md400159/e 55 6.0 specifications absolute maximum ratings absolute maximum ratings are limits beyond which may cause permanent damage to the device or affect device reliability. all voltages are specified with respect to gnd, unless otherwise specified. vcc supply voltage ...................................-0.3v to 6.0v all inputs and outputs with respect to gnd ........................-0.3v to vcc+0.3v package power dissipation, ..................2.0 watt @ 70 c storage temperature ................................-65 to +150 c temperature under bias .............................-10 to +80 c lead temperature (soldering, 10 sec) ................ 260 c body temperature (soldering, 30 sec) ................ 220 c dc electrical characteristics unless otherwise noted, all test conditions are as follows: 1. t a = 0 to +70 c 2. v cc = 5v +/-5% 3. 25 mhz +/- 0.01% 4. rext = 10k +/- 1%, no load limit sym parameter min typ max unit conditions v il input low voltage 0.8 volt all except oscin, mda[4:0] v cc -1.0 volt mda[4:0] 1.5 volt oscin v ih input high voltage 2 volt all except oscin, mda[4:0] v cc - 0.5 volt mda[4:0] 3.5 volt oscin i il input low current 1 m av in = gnd all except oscin, mda[4:0], trfadj [1:0], t4lnk, tpi 10 m av in = gnd, trfadj0 -4 -25 m av in = gnd, mda[4:0] -12 -120 m av in = gnd, trfadj1, t4lnk -150 m av in = gnd, oscin i ih input high current 1 m av in = v cc all except oscin, trfadj[1:0], t4adv, tpi , rptr 10 m av in = v cc , trfadj1 12 120 m av in = v cc , trfadj0, t4adv, rptr 150 m av in = v cc , oscin v ol output low voltage 0.4 volt i ol = -4 ma all except pled[5:0], tpo 1 volt i ol = -20 ma, pled[5:0] v oh output high voltage v cc -1.0 volt i oh = 4 ma all except pled[5:0], mdint, tpo 2.4 volt i oh = 4 m a, pled[5:2], mdint v cc -1.0 volt i oh = 10 ma, pled[1:0] c in input capacitance 5 pf i cc v cc supply current 170 200 ma transmitting i ss gnd supply current 250 ma transmitting 1 ma powerdown mode
80220/80221 md400159/e 56 twisted pair characteristics, transmit unless otherwise noted, all test conditions are as follows: 1. t a = 0 to +70 c 2. v cc = 5v +/-5% 3. 25 mhz +/- 0.01% 4. rext = 10k +/- 1%, no load 5. tpo loading shown in figure 11 or equivalent. limit sym parameter min typ max unit conditions t ov tp differential output 0.950 1.000 1.050 v pk 100 mbps, utp mode, 100 ohm load voltage 1.165 1.225 1.285 v pk 100 mbps, stp mode, 150 ohm load 2.2 2.5 2.8 v pk 10 mbps, utp mode, 100 ohm load 2.694 3.062 3.429 v pk 10 mbps, stp mode, 150 ohm load t ovs tp differential output 98 102 % 100 mbps, ratio of positive and voltage symmetry negative amplitude peaks on tpo t orf tp differential output 3.0 5.0 ns 100 mbps rise and fall time trfadj [1:0] = 10 t orfs tp differential output +/- 0.5 ns 100 mbps, difference between rise rise and fall time and fall times on tpo symmetry trfadj [1:0] = 10 t odc tp differential output +/- ns 100 mbps, output data=0101... nrz duty cycle distortion 0.25 pattern unscrambled, measure at 50% points t oj tp differential output +/- 1.4 ns 100 mbps, output data=scrambled /h/ jitter t oo tp differential output 5.0 % 100 mbps overshoot t ovt tp differential output see figure 4 10 mbps voltage template t soi tp differential output see figure 6 10 mbps soi voltage template t lpt tp differential output see figure 7 10 mbps, nlp and flp link pulse voltage template t oiv tp differential output +/- 50 mv 10 mbps. measured on secondary idle voltage side of xfmr in figure 11.
80220/80221 4-57 md400159/e 57 t oia tp output current 19 20 21 ma pk 100 mbps, utp with tlvl[3:0]=1000 15.53 16.33 17.13 ma pk 100 mbps, stp with tlvl[3:0]=1000 44 50 56 ma pk 10 mbps, utp with tlvl[3:0]=1000 35.93 40.82 45.72 ma pk 10 mbps, stp with tlvl[3:0]=1000 t oir tp output current 0.80 1.2 v cc =5v, adjustable with rext, adjustment range relative to t oia with rext=10k 0.86 1.16 v cc =5v, adjustable with tlvl[3:0] see section 5.4 relative to value at tlvl[3:0]=1000 t ora tp output current +/-50 % relative to ideal values in table 3. tlvl step accuracy table 3 values relative to output with tlvl[3:0]=1000. t or tp output resistance 10k ohm t oc tp output capacitance 15 pf twisted pair characteristics, transmit (continued) limit sym parameter min typ max unit conditions
80220/80221 md400159/e 58 twisted pair characteristics, receive unless otherwise noted, all test conditions are as follows: 1. t a = 0 to +70 c 2. v cc = 5v +/-5% 3. 25 mhz +/- 0.01% 4. rext = 10k +/- 1%, no load 5. 62.5/10 mhz square wave on tp inputs in 100/10 mbps limit sym parameter min typ max unit conditions r st tp input squelch 166 500 mv pk 100 mbps, rlvl=0 threshold 310 540 mv pk 10 mbps, rlvl=0 60 200 mv pk 100 mbps, rlvl=1 186 324 mv pk 10 mbps, rlvl=1 r ut tp input unsquelch 100 300 mv pk 100 mbps, rlvl=0 threshold 186 324 mv pk 10 mbps, rlvl=0 r ocv tp input open circuit v cc 0.5 volt voltage on either tpi+ or tpiC voltage with respect to gnd. r cmr tp input common r ocv volt voltage on tpi mode voltage range 0.25 with respect to gnd. r dr tp input differential v cc volt voltage range r ir tp input resistance 5k ohm r ic tp input capacitance 10 pf 3
80220/80221 4-59 md400159/e 59 ac test timing conditions unless otherwise noted, all test conditions are as follows: 1. t a = 0 to +70 c 2. v cc = 5v +/-5% 3. 25 mhz +/- 0.01% 4. rext = 10k +/- 1%, no load 5. input conditions: all inputs: tr,tf<=10ns, 20-80% 6. output loading tpo : same as figure 11 or equivalent, 10pf open drain outputs: 1k pullup, 50pf all other digital outputs: 25pf 7. measurement points: tpo , tpi : 0.0 v during data, 0.3v at start/end of packet all other inputs and outputs: 1.5 volts 25 mhz input / output clock timing characteristics limit sym parameter min typ max unit conditions t 1 oscin period 39.996 40 40.004 ns clock applied to oscin t 2 oscin high time 16 ns clock applied to oscin t 3 oscin low time 16 ns clock applied to oscin t 4 oscin to tx_clk 10 ns 100 mbps 20 ns 10 mbps figure 16. 25 mhz output timing tx_clk (100 mb) tx_clk (10 mb) t 4 t 4 t 4 oscin t 1 t 2 t 3 refer to figure 16 for timing diagram. delay
80220/80221 md400159/e 60 transmit timing characteristics refer to figure 17-18 for timing diagram limit sym parameter min typ max unit conditions t 11 tx_clk period 39.996 40 40.004 ns 100 mbps 399.96 400 400.04 ns 10 mbps t 12 tx_clk low time 16 20 24 ns 100 mbps 160 200 240 ns 10 mbps t 13 tx_clk high time 16 20 24 ns 100 mbps 160 200 240 ns 10 mbps t 14 tx_clk rise/fall time 10 ns t 15 tx_en setup time 15 ns t 16 tx_en hold time 0 ns t 17 crs during transmit 40 ns 100 mbps 400 ns 10 mbps t 18 crs during transmit 160 ns 100 mbps 900 ns 10 mbps t 19 txd setup time 15 ns t 20 txd hold time 0 ns t 21 tx_er setup time 15 ns t 22 tx_er hold time 0 ns t 23 transmit propagation delay 60 140 ns 100 mbps, mii 140 ns 100 mbps, fbi 600 ns 10 mbps t 24 transmit output jitter 0.7 ns pk-pk 100 mbps 5.5 ns pk-pk 10 mbps t 25 transmit soi pulse 250 ns 10 mbps width to 0.3v t 26 transmit soi pulse 4500 ns 10 mbps width to 40 mv t 27 pledn delay time 25 ms pledn programmed for activity t 28 pledn pulse width 80 105 ms pledn programmed for activity assert time deassert time
80220/80221 4-61 md400159/e 61 figure 17. transmit timing - 100 mbps tx_clk tx_en crs txd [3:0] t 11 tx_er pledn tpo t 13 t 14 t 14 t 18 t 16 t 15 t 17 n0 n3 n2 n1 t 21 t 22 t 27 t 23 t 28 /j/k/ idle /t/r/ t 24 19 tt 20 t 12 data idle idle mii 100mbps fbi 100mbps same as mii 100mbps except: 1. tx_er converted to txd4 2. rx_er converted to rxd4
80220/80221 md400159/e 62 figure 18. transmit timing - 10 mbps tx_clk tx_en crs txd [3:0] t 11 pledn tpo t 13 t 14 t 14 t 18 t 16 t 15 t 17 n0 n3 n2 n1 t 27 t 23 t 28 soi t 24 19 tt 20 t 12 mii 10mb t 26 t 25 preamble preamble data data
80220/80221 4-63 md400159/e 63 receive timing characteristics refer to figures 19-23 for timing diagrams limit sym parameter min typ max unit conditions t 31 start of packet to crs 200 ns 100 mbps, mii assert delay 200 ns 100 mbps, fbi 700 ns 10 mbps t 32 end of packet to crs 130 240 ns 100 mbps, mii deassert delay 240 ns 100 mbps, fbi 600 ns 10 mbps. relative to start of soi pulse t 33 start of packet to 240 ns 100 mbps rx_dv assert delay 3600 ns 10 mbps t 34 end of packet to 280 ns 100 mbps rx_dv deassert delay 1000 ns 10 mbps. relative to start of soi pulse t 37 rx_clk to rx_dv, -8 8 ns 100 mbps rxd, rx_er delay -80 80 ns 10 mbps t 38 rx_clk high time 18 20 22 ns 100 mbps 180 200 600 ns 10 mbps t 39 rx_clk low time 18 20 22 ns 100 mbps 180 200 600 ns 10 mbps t 40 soi pulse minimum 125 200 ns 10 mbps width required for idle measure tpi from last zero cross detection to 0.3v point. t 41 receive input jitter 3.0 ns pk - pk 100 mbps 13.5 ns pk -pk 10 mbps t 43 pledn delay time 25 ms pledn programmed for activity t 44 pledn pulse width 80 105 ms pledn programmed for activity t 45 rx_clk, rxd, crc, 10 ns rx_dv, rx_er output rise and fall times t 46 rx_en deassert to rcv 40 ns mii output hi-z delay t 47 rx_en assert to rcv 40 ns mii output active delay
80220/80221 md400159/e 64 mii 100 mbps fbi 100 mbps same as mii 100 mbps except: 1. rx_er converted to rxd4 2. tx_er converted to txd4 figure 19. receive timing, start of packet - 100 mbps rxd [3:0] pledn t 31 t 44 tpi data data data data data crs rx_clk tx tx tx tx tx t 33 rx_dv t 38 t 39 preamble preamble t 37 rx_er t 37 t 37 t 43 rx rx rx rx rx rx t 37 data data data data data data data data data data data data idle k j data t 41 preamble preamble preamble
80220/80221 4-65 md400159/e 65 fbi 100 mbps same as mii 100 mbps except: 1. tx_er converted to rxd4 2. rx_er converted to txd4 figure 20. receive timing, end of packet - 100 mbps mii 100 mbps t 32 tpi crs rx_clk t 37 t 34 rx_dv t 38 rxd [3:0] t 39 data data data data data data data rx rx rx rx rx rx rx rx tx tx data r t riiiiiiiiiiii i iiii i i
80220/80221 md400159/e 66 figure 21. receive timing, start of packet - 10 mbps mii 10 mb rxd [3:0] pledn t 31 t 44 crs rx_clk tx tx tx tx tx rx rx rx rx rx rx t 37 t 33 rx_dv t 38 t 39 preamble preamble data data t 37 rx_er t 43 tpi data data t 41 data
80220/80221 4-67 md400159/e 67 figure 22. receive timing, end of packet - 10 mbps t 32 tpi crs rx_clk rx rx rx t 37 t 34 rx_dv t 38 t 39 rx rx rx rx rx tx tx rxd [3:0] data data data data data data data data data data data data t 40 soi t 41 mii 10 mb figure 23. rx_en timing rx_en rx_clk rxd [3:0] rx_dv rx_er col t 46 t 47
80220/80221 md400159/e 68 collision and jam timing characteristics refer to figures 24-27 for timing diagrams limit sym parameter min typ max unit conditions t 51 rcv packet start to 200 ns 100 mbps col assert time 700 ns 10 mbps t 52 rcv packet stop to 130 240 ns 100 mbps col deassert time 300 ns 10 mbps t 53 xmt packet start to 200 ns 100 mbps col assert time 700 ns 10 mbps t 54 xmt packet stop to 240 ns 100 mbps col deassert time 300 ns 10 mbps. t 55 pledn delay time 25 ms pledn programmed for collision t 56 pledn pulse time 80 105 ms pledn programmed for collision t 57 collision test assert 5120 ns time t 58 collision test deassert 40 ns time t 59 crs assert to transmit 300 ns 100 mbps jam packet start 800 ns 10 mbps during jam t 60 col rise and fall time 10 ns
80220/80221 4-69 md400159/e 69 figure 24. collision timing, receive t 55 col tpi i tpo i data data data data data data data data data data data i k j i i data i i r t data pledn data data data data t 51 t 52 t 56 mii 100 mbps mii 100 mbps mii 100 mbps mii 100 mbps same as mii 100 mbps t 55 col tpi tpo pledn t 51 t 52 t 56 fbi 100 mbps
80220/80221 md400159/e 70 figure 25. collision timing, transmit t 55 col tpo i tpi i data data data data data data data data data data data i k j i i data i i r t data pledn data data data data t 53 t 54 t 56 fbi 100 mbps mii 100 mbps mii 100 mbps same as mii 100 mbps t 55 col tpo tpi pledn t 53 t 54 t 56
80220/80221 4-71 md400159/e 71 figure 26. collision test timing tx_en col t 58 57 t
80220/80221 md400159/e 72 figure 27. jam timing t 53 t 31 t 54 fbi 100 mbps mii 100 mbps mii 100 mbps same as mii 100 mbps tpi col t 53 t 54 tpo ii data data data data k j data data jam i crs tpo ii jam i i r jam jam k jam i iij t i data data data data data data col t 59 jam crs t 31 jam jam jam jam t 59 tpo
80220/80221 4-73 md400159/e 73 link pulse timing characteristics refer to figures 28-30 for timing diagrams limit sym parameter min typ max unit condition t 61 nlp transmit link see figure 7 ns pulse width t 62 nlp transmit link 8 24 ms pulse period t 63 nlp receive link pulse 50 ns width required for detection t 64 nlp receive link pulse 6 7 ms link_test_min minimum period required for detection t 65 nlp receive link pulse 50 150 ms link_test_max maximum period required for detection t 66 nlp receive link 3 3 3 link lc_max pulses required to exit pulses link fail state t 63a t4lp receive link 40 ns pulse width required for detection t 64a t4lp receive link 0.15 0.45 ms pulse minimum period required for detection t 65a t4lp receive link 5 6 ms pulse maximum period required for detection t 66a t4lp receive link 31 link 31 link pulses are required to exit pulses required to exit pulses link fail to link ready link fail state t 67 flp transmit link 100 150 ns pulse width t 68 flp transmit clock 55.5 62.5 69.5 m s interval_timer pulse to data pulse period t 69 flp transmit clock 111 125 139 m s pulse to clock pulse period t 70 flp transmit link 8 22 ms transmit_link_burst_timer pulse burst period t 71 flp receive link pulse 50 ns width required for detection
80220/80221 md400159/e 74 t 72 flp receive link pulse 5 25 m s flp_test_min_timer minimum period required for clock pulse detection t 73 flp receive link pulse 165 185 m s flp_test_max_timer maximum period required for clock pulse detection t 74 flp receive link pulse 15 47 m s data_detect_min_timer minimum period required for data pulse detection t 75 flp receive link pulse 78 100 m s data_detect_max_timer maximum period required for data pulse detection t 76 flp receive link 17 17 link pulses required to pulses detect valid flp burst t 77 flp receive link pulse 5 7 ms nlp_test_min_timer burst minimum period required for detection t 78 flp receive link pulse 50 150 ms nlp_test_max_timer burst maximum period required for detection t 79 flp receive link 3 3 3 link pulses bursts required pulse to detect autonegotiation capability t 80 flp receive 1200 1500 ms acknowledge fail period t 81 flp transmit 1200 1500 ms break_link_timer renegotiate link fail period t 82 nlp receive link 750 1000 ms link_fail_inhibit_timer pulse maximum period required for detection after flp negotation has completed link pulse timing characteristics continued limit sym parameter min typ max unit condition
80220/80221 4-75 md400159/e 75 tpo t 61 a.) transmit nlp t 62 tpi t 63 b.) receive nlp t 64 pledn t 66 t 65 figure 28. nlp link pulse timing
80220/80221 md400159/e 76 figure 29. flp link pulse timing tpo t 67 a.) transmit flp and transmit flp burst t 68 tpi t 71 b.) receive flp t 73 tpi clk data clk data data clk clk t 70 clk data data clk t 72 31.25 62.5 93.75 125 156.25 t 74 t 75 c.) receive flp burst pledn t 77 t 78 t 79 t 69
80220/80221 4-77 md400159/e 77 tpi t 63a b.) receive t4lp t 64a pledn t 66a t 65a figure 30. t4lp link pulse timing receive t4lp
80220/80221 md400159/e 78 jabber timing characteristics refer to figure 31 for timing diagram limit sym parameter min typ max unit conditions t 91 jabber activation delay 50 100 ms 10 mbps time t 92 jabber deactivation 250 750 ms 10 mbps delay time figure 31. jabber timing tpo txen col 91 t crs 91 t 91 t 92 t mi 10 mb fbi 100 mb not applicable mii 100 mb not applicable
80220/80221 4-79 md400159/e 79 led driver timing characteristics refer to figure 32 for timing diagram limit sym parameter min typ max unit conditions t 96 pled[5:0] on time 80 105 ms pled[5:0] programmed to blink t 97 pled[5:0] off time 80 105 ms pled[5:0] programmed to blink figure 32. led driver timing pled[5:0] t 96 t 97
80220/80221 md400159/e 80 mi serial port timing characteristics refer to figures 33-34 for timing diagrams limit sym parameter min typ max unit conditions t 101 mdc high time 20 ns t 102 mdc low time 20 ns t 103 mdio setup time 10 ns write bits t 104 mdio hold time 10 ns write bits t 105 mdc to mdio delay 20 ns read bits t 106 mdio hi-z to active 20 ns write-read bit transition delay t 107 mdio active to hi-z 20 ns read-write bit transition delay t 108 frame delimiter (idle) 32 clocks # of consecutive mdc clocks with mdio=1 t 109 end of frame to 100 ns mdint transition t 110 mdc to mdio 100 ns interrupt pulse assert delay t 111 mdc to mdio 100 ns interrupt pulse deassert delay
80220/80221 4-81 md400159/e 81 figure 33. mi serial port timing mdio (read) t 101 mdc mdio (write) t 109 013 114 15 30 17 16 31 t 102 d15 d0 d14 ta0 t 105 t 107 t 106 103 t 104 t regad0 st1 st0 ta0 ta1 d15 d1 d0 st0 st1 regad0 mdint 103 t 104 t ta1
80220/80221 md400159/e 82 figure 34. mdio interrupt pulse timing internal interrupt signal mdc mdio 110 t 111 t
80220/80221 4-83 md400159/e 83 7.0 ordering information n package type temperature range part type q ?0 c to +70 c 100 base-tx/10 base-t ethernet media interface adapter 80220 q chip carrier n = plastic leaded 7.1 44 pin plcc 7.2 64 pin lqfp revision history 2/20/97 - 2/20/97 initial release. 6/30/97 6/30/97 document revision changed to md400159/b page 2, pin configuration 80221 80 pqfp: - pin #30 changed from nc to rptr page 4, table of contents: - 3.25 repeater mode, has been added to table of contents. - all previous references to 3.25 have been changed to 3.26 - reference to 5.7 return loss has been removed. - all references to sections 5.8, 5.9, 5.10, 5.11 etc. have been changed to 5.7, 5.8, 5.9, 5.11 etc. l package type temperature range part type q ?0 c to +70 c 100 base-tx/10 base-t ethernet media interface adapter 80221 q l = low profile quad flat pack
80220/80221 md400159/e 84 page 7, pin configuration continued: - pin name pled5 description, all references to transmit have been changed to receive. - pin name pled4 description, all references to receive have been changed to transmit. - new reference to pin #30 including pin name, i/o and description, has been added. page 8, pin description continued: - 80 pqfp reference to pin #30 has been deleted. page 9, figure 1. 80220/80221 block diagram: - reference to rptr [1] has been added. page 12, table 1 80220 vs. 80221: - repeater mode pin has been added. page 13, section 3.3.4 fbi - 100 mbps: - paragraph 2 copy, ...rxd4, (4) crs is asserted as long as the device is in the link.... has been added. page 19, section 3.9.4 tp squelch, 10 mbps: - reference to 75-250 ns has been changed to 50-250 ns. page 24, section 3.13.9 link indication: - copy change, copy has been changed to...the pled3 output is open drain with resistor pullup and can drive an led from vcc; the pled0 output has both pullup and pulldown driver transistors in addition to a weak pullup resistor, so it can drive an led from either vcc or gnd. both pled3 and pled0 can also drive another digital input. refer... page 25, section 3.15.2 10 mbps: - copy change, copy has been changed to...if either 3 consecutive link pulses or one soi pulse indicates incorrect polarity on the tp receive input, ... section 3.16.3 full duplex indication: - copy change, copy has been changed to...the pled1 output has both pullup and pulldown driver transistors and a weak pullup resistor, ... section 3.17.2 10/100 mbps indication: - copy change, copy has been changed to...the pled0 output has both pullup and pulldown driver transistors and a weak pullup resistor, ... section 3.18.1 internal crs loopback: - copy change, copy has been changed to... in link fail state, and when the transmit disable bit is set in the mi serial port configuration 1 register. in 10 mbps mode, ... page 26, section 3.18.2 diagnostic loopback: - copy addition, copy has been changed to...do not change. diagnostic loopback mode can not be enabled when the fbi interface is selected. section 3.23 led drivers: - first paragraph has changed to ...the pled[5:2] outputs are open drain with a pullup resistor and can drive led's tied to vcc. the pled[1:0] outputs have both pullup and pulldown driver transistors with a pullup resistor, so pled[1:0] can drive led's tied to either vcc or gnd. page 27, table 5. led normal function definition: - columns pled5 and pled4 references to xmt and rcv have been switched, xmt is now rcv etc. - section 3.25 repeater mode has been added. - reference to sections 3.25 have been changed to 3.26. page 28, reference to sections 3.25 have been changed to 3.26. table 7. mi register bit type definition: - r/ws c column, write cycle, clears itself after operation completed is now under column read cycle. revision history
80220/80221 4-85 md400159/e 85 page 29, figure 9 mi serial port frame timing diagram: - references to st, op, phyad, regad, ta, data have been changed to st[1:0], op[1:0], phyad[4:0], regad[4:0], ta[1:0], data[15:0], for both write cycle and read cycle. page 30, reference to sections 3.25 have been changed to 3.26. page 38, table 14. mi register 4 (autonegotiation advertisement ) structure: - bit 4.15, reference to note 1 has been added. note 1. next page currently not supported. page 43, table 19. mi register 19 (mask) structure and bit definition: - def. 19.3, 19.2, 19.1 19.0 have been changed from 1 to 0. - read writes to 19.3, 19.2, 19.1 19.0 have been changed from r/w to r. page 49, section 5.4 tp transmit output current set: - copy change ...where i ref = 33.4 ma (10 mbps, stp) has been changed to i ref = 40.8 ma (10 mbps, stp) general: - section 5.7 return loss has been removed, all references to 5.8 have been changed to 5.7. all following references to 5.8, 5.9, 5.10 have been changed to 5.7, 5.8, 5.9 etc. page 51, section 5.9.1 mii based repeaters: - paragraph 2 copy has been changed to ...for most repeaters, it is necessary to disable the internal crs loopback. this ... - new paragraph 3 and paragraph 4 have been added to section. section 5.9.2 non_mii based repeaters: - paragraph 3 copy has been changed to ...for most repeaters, it is necessary to disable the internal crs loopback. this ... - new paragraph 4 have been added to section. page 54, section 5.14 programmable led drivers: - paragraph 1 has been changed to ...the pled[5:0] outputs can all drive led's tied to vcc as shown in figures 11-13. in addition, pled1 and pled0 can drive an led tied to gnd as well as vcc. - paragraph 6 references to pled[3:0] have been changed to pled[5:0] - paragraph 7, note that pled3... has been changed to ...note that pled1 and pled0 pins have both pullup and pulldown transistors. this... page 55, dc electrical characteristics: - i il conditions trfad1, t4lnk, has been changed to trfad[1:0], t4lnk, tpi . - new i il row has been added, conditions = trfadj0, unit = m a, and limit (max) = 10. - i il conditions mda[4:0] limit (min) has been changed from -6 to 4. - i il conditions mda[4:0] limit (typ), has been made blank. - i il conditions trfadj1, t4lnk limit (typ), has been made blank. - i il conditions trfadj1, t4lnk limit (max), has been changed from -50 to -120 - i ih conditions, all except oscin, trfadj0, t4adv, has been changed to all except oscin, trfadj[1:0], t4adv, tpi - new i ih row has been added conditions = trfadj1, unit = m a, and limit (max) = 10. - i il conditions trfadj0, t4adv limit (typ), has been made blank. - i il conditions trfadj0, t4adv limit (max), has been changed from 50 to 120. - v oh conditions i oh = 6 m a pled[5:0], mdint has been changed to i oh = 4 m a pled[5:2], mdint. - new v oh row has been added limit (min) = v cc - 1.0, unit = volt, i oh = 10 ma, pled[1:0] - i il conditions trfadj0, has been changed to v in = gnd, trfadj0 - i il conditions mda[4:0], has been changed to v in = gnd, mda[4:0] - i il conditions trfadj1, t4lnk, has been changed to v in = gnd, trfadj1, t4lnk revision history
80220/80221 md400159/e 86 page 55, dc electrical characteristics: - i il conditions oscin, has been changed to v in = gnd, oscin - i ih conditions trfadj1, has been changed to v in = v cc , trfadj1 - i ih conditions trfadj0, t4adv, rptr, has been changed to v in = v cc , trfadj0, t4adv, rptr - i ih conditions oscin, has been changed to v in = v cc , oscin - i cc limit (typ) is now 170 - i cc limit (max) has been changed form 250 to 200 - i cc conditions powerdown mode row has been deleted - new i ss row, conditions, transmitting limit (max) = 250, unit = ma - new i ss row, conditions powerdown mode limit (max) = 1, unit = ma. page 56, twisted pair characteristics transmit: - t ov , limit (min) has been changed form 2.2 to 2.694 - t ov , limit (typ) has been changed form 2.5 to 3.062 - t ov , limit (max) has been changed form 2.8 to 3.429 page 57, twisted pair characteristics transmit (continued): - t ov , limit (min) has been changed form 29.4 to 35.93 - t ov , limit (typ) has been changed form 33.4 to 40.82 - t ov , limit (max) has been changed form 37.4 to 45.72 page 58, twisted pair characteristics receive: - r ocv , limit (typ), has been changed from v cc - 0.1 to v cc /3 0.5 - r cmr , limit (typ), has been changed from v cc 1.0 to r ocv 0.25 page 59, 25 mhz input/output clock timing characteristics: - t 4 limit (max) 10, conditions is now 100 mbps - t 4 new row conditions is 10 mbps, limit (max) = 20, unit = ns. page 60, transmit timing characteristics: - t 17 , limit (max) 40, conditions is now 100 mbps - t 17 , new row conditions is 10 mbps, limit (max) = 400, unit = ns. - t 18 , limit (max) 160, conditions is now 100 mbps - t 18 , new row conditions is 10 mbps, limit (max) = 400, unit = ns. - t 18 , limit (max) has been changed from 400 to 900 page 63, receive timing characteristics: - t 34 , limit (max) has changed form 900 to 1000 - t 37 , limit (min) has changed from -50 to -80 - t 37 , limit (max) has changed from 50 to 80 page 67, figure 23. rx_en timing: - timing tx_en has changed to tx_en. - timing tx_en has changed page 79, figure led driver timing: - t 97 reference end of t 97 cycle is a falling edge. revision history
80220/80221 4-87 md400159/e 87 page 81, figure 33. mi serial port timing: - reference to t 104 now extends to mdc timing. - mdio (read) and mdio (write), timing labels have changed. - mdio (write) data 0 rising edge is now rising falling. 9/15/97 9/15/97 document revision changed to md400159/c general: all references to 80 pin pqfp have been changed to 64 lqfp. general: all references to pin 26 configuration have been changed to r/j configuration. page 2, 80 pin configuration illustration has been changed to 64 pin configuration illustration. page 5, 1.0 pin description - all pin number references to 80 pin pqfp has been changed to 64 pin lqfp for this table. page 7, 1.0 pin description - pin name pled 5, description, programmable has been changed to receive. - pin name pled 4, description, programmable has been changed to transmit. page 23, section 3.13.6 autonegotiation status - the mi serial port ... intable 4. copy has been deleted. page 24, table 4 has been deleted. page 33, table 9, mi serial port register map - 4 autonegot. advertisement, def. bits 3,2,1,0 have been changed from 0 to C. - 16 configuration bit 9 has been changed to unscr_dis - 18 status output, bit 5 has been changed to 0, bit 4 has been changed to 0. page 37, table 13, mi register 3(phy id #2) structure and bit definition - name, manufacturer's revision number definition has been changed from 0h to Ch, all def, have been changed from 0 to C. page 40, table 16. mi register 16 (configuration 1) structure and bit definition. - bit 16.9 symbol is now unscr_dis, name is now, unscrambled idle reception disable. - bit 16.9 definition has been changed to: 1 = disable autonegotiation with devices that transmit unscrambled idle on powerup and various instances 0 = enables autonegotiation with devices that transmit unscramblled idle on powerup and various instances page 42, table 18 mi register 18 (status output) structure and bit definition - bit 18.4, and 18.5, symbol is now blank, name is now blank, definition has been changed to reserved. page 55, 6.0 specifications - package power dissipation, (80220) has been changed from 2.2 watt @ 70 c to 2.0 watt @ 70 c. - package power dissipation (80221) has been deleted. page 58, twisted pair characteristics, receive - r st , 100 mbps, rlvl = 1, (min) has been changed from 100 to 60. - r st , 100 mbps, rlvl = 1, (max) has been changed from 300 to 200. - r ut , 100 mbps, rlvl = 1, (min) has been changed from 60 to 20. - r ut , 100 mbps, rlvl = 1, (max) has been changed from 180 to 90. revision history
80220/80221 md400159/e 88 page 83, 7.0 ordering information - 7.2 80 pin pqfp, has been changed to 64 lqfp page 90, 8.0 surface mount packages - 80 pin pqfp dimension diagram has been changed to 64 pin lqfp dimension diagram. 3/15/98 3/15/98 document revision changed to md400159/d page 1: features list, 64 pqfp has been changed to 64 lqfp 7/2/98 7/2/98 document revision changed to md400159/e page 23: 3.13.6 autonegotiation status, copy change ... autonegotiation status bits in both the mi serial port status and status output registers... has been changed to ... autonegotiation status bits in the mi serial port status register ... page 33: table 9. mi serial port register map - 1 status, x.6, has been changed from 0 to cap_supr - 19 mask, x.5 has been changed from mask aneg_st1 to 1 - 19 mask, x.4 has been changed from mask aneg_st2 to 1 - 19 mask, x.3, x.2, x.1, x.0 have been changed from 1 rw 1 to 0 r 0 - 18 status output, x.5, x.4 have been changed from r/lt to r page 35: table 11. mi register 1 (status) structure and bit definition - bit 1.6 has been changed from 0 to cap_supr page 37: table 13. mi register 3 (phy id#2) structure and bit definition - symbol, part 6,5,4,3,2,1 has been changed to part 5,4,3,2,1,0 - definition, _ h has been deleted. page 42: table 18. mi register 18 (status output) structure and bit definition - bit 18.5 symbol is now blank. - bit 18.4 symbol is now blank. - bit 18.5, 18.4 definition has been changed from reserved to reserved for factory use. - bit 18.5 and 18.4 have been changed from r/lt to 0 r/lt page 43: table 19. mi register 19 (mask) structure and bit definition - bits 19.5, and 19.4 have been changed to 1 - 19.5, and 19.4 definition has been changed to reserved. must be written to 1 or left at default for normal operation. page 46: figure 11. typical network interface card schematic using 80220 - addition of 75 ohm resistor - reference 2kv has been added to capacitor page 47: figure 12. typical switching port schematic using 80220 - addition of 75 ohm resistor - reference 2kv has been added to capacitor revision history
80220/80221 4-89 md400159/e 89 revision history page 48: figure 13. typical external phy schematic using 80220 - addition of 75 ohm resistor - reference 2kv has been added to capacitor page 58: twisted pair characteristics receive - r ut , row conditions, 100 mbps, rlvl = 1 and 10 mbps rlvl = 1 have been deleted page 59: ac test timing conditions - 50 pf has been changed to 25 pf page 60: transmit timing characteristics - symbol t 15 , t 19 , t 21 (min) has been changed from 10 to 15. - symbol t 15 , t 19 , t 21 note 1 has been added to conditions.
80220/80221 md400159/e 90 8.0 surface mount packages 8.1 44 pin plastic leaded chip carrier notes 1. all dimensions are in inches and (millimeters). 2. dimensions do not include mold flash. maximum allowable flash is .008 (.20). 3. formed leads shall be planar with respect to one another within 0.004 inches. pin no. 1 pin no. 1 identifier .048 (1.22) x 45 .042 (1.07) x 45 .656 (16.66) .650 (16.51) .695 (17.65) .685 (17.40) .656 (16.66) .650 (16.51) .695 (17.65) .685 (17.40) .021 (0.53) .013 (0.33) r .045 (1.14) r .025 (.64) .056 (1.42) .042 (1.07) .112 (2.84) .100 (2.54) .180 (4.57) .165 (4.19) .0103 (.261) .0097 (.246) .630 (16.00) .590 (14.99) .020 (0.51) min. .050 (1.27) bsc .500 (12.70) ref. .500 (12.70) ref. nq80220
80220/80221 4-91 md400159/e 91 8.0 surface mount packages 8.2 64 lqfp notes 1. all dimensions are in millimeters. 2. dimensions do not include mold flash. maximum allowable flash is 0.25. 3. all leads are coplanar to a tolerance of 0.08 (ccc). bent leads to a tolerance of 0.08 (ddd). symbol dimensions b 0.17 - 0.27 e 0.50 basic ccc max. 0.08 ddd max. 0.08 d 11.85 - 12.15 e 11.85 - 12.15 l 0.45 - 0.75 l1 1.0 ref r 0.08 - 0.20 r1 min. 0.08 a max. 1.60 a1 0.05 - 0.15 a2 1.292 - 1.508 c 0.09 - 0.20 d1 9.90 - 10.10 e1 9.90 - 10.10 @0 - 7 @1 min. 0 @2 12 dimension table b e d e a e1 d1 see detail a see detail b b detail b c pin 1 @ l a1 r1 r detail a a2 a l1 @1 @2 ccc ddd th l i td lq80221


▲Up To Search▲   

 
Price & Availability of NQ80221

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X